module ActiveRecord::ReadonlyAttributes::ClassMethods

def readonly_attribute?(name) # :nodoc:

:nodoc:
def readonly_attribute?(name) # :nodoc:
  _attr_readonly.include?(name)
end