readonly?()
Returns true if the record is read only.
# File activerecord/lib/active_record/core.rb, line 650 def readonly? @readonly end