instance method
readonly?
Ruby on Rails 7.1.6
Since v4.0.13Signature
readonly?()
Returns true if the record is read only.
Source
# File activerecord/lib/active_record/core.rb, line 650
def readonly?
@readonly
end
Defined in activerecord/lib/active_record/core.rb line 650
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Core