module ActiveRecord::Core

def readonly!

Marks this record as read only.
def readonly!
  @readonly = true
end