method
attribute_method?
v3.2.13 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods::ClassMethods
attribute_method?(attribute)public
No documentation available.
# File activerecord/lib/active_record/attribute_methods.rb, line 121
def attribute_method?(attribute)
super || (table_exists? && column_names.include?(attribute.to_s.sub(/=$/, '')))
end