This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.
readonly!()
Marks this record as read only.
# File activerecord/lib/active_record/core.rb, line 678 def readonly! @readonly = true end