instance method
readonly_attributes
Ruby on Rails 5.2.8.1
Since v3.2.22.5Signature
readonly_attributes()
Returns an array of all the attributes that have been specified as readonly.
Source
# File activerecord/lib/active_record/readonly_attributes.rb, line 19
def readonly_attributes
_attr_readonly
end
Defined in activerecord/lib/active_record/readonly_attributes.rb line 19
· View on GitHub
· Improve this page
· Find usages on GitHub