Module | ActiveRecord::AttributeMethods::ClassMethods |
In: |
lib/active_record/attribute_methods.rb
|
Generates all the attribute related methods for columns in the database accessors, mutators and query methods.
Checks whether the method is defined in the model or any of its subclasses that also derive from Active Record. Raises DangerousAttributeError if the method is defined by Active Record though.