lib/acts_as_changesetable/acts/common.rb
# Returns the changeable foreign key name that will be used
Returns the changeable foreign key name that will be used
Returns the changeable foreign key name that will be used
def changeable_fk
        if(self.changesetable_options.changeable_fk)
          self.changesetable_options.changeable_fk
        else
          "#{self.changeable_class_name.underscore}_id".to_sym
        end
      end
def changeable_fk if ( self . changesetable_options . changeable_fk ) self . changesetable_options . changeable_fk else "#{self.changeable_class_name.underscore}_id" . to_sym end end
Returns the changeable foreign key name that will be used
Returns the changeable foreign key name that will be used