module ActiveScaffold::ReverseAssociation::ThroughAssociation

Public Instance Methods

invertible_for?(record) click to toggle source

NOTE - for now, we're only supporting inverse setting back onto has_one associations. TODO remove when rails fixes this and old versions are not supported

Calls superclass method
# File lib/active_scaffold/extensions/reverse_associations.rb, line 109
def invertible_for?(record)
  inverse = super
  inverse && !inverse.collection?
end