Method: ActiveRecord::ReadonlyAttributes::ClassMethods#readonly_attributes
- Defined in:
- activerecord/lib/active_record/readonly_attributes.rb
#readonly_attributes ⇒ Object
Returns an array of all the attributes that have been specified as readonly.
39 40 41 |
# File 'activerecord/lib/active_record/readonly_attributes.rb', line 39 def readonly_attributes _attr_readonly end |