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