Method: ActiveRecord::Core#frozen?

Defined in:
lib/active_record/core.rb

#frozen?Boolean

Returns true if the attributes hash has been frozen.

Returns:

  • (Boolean)


468
469
470
# File 'lib/active_record/core.rb', line 468

def frozen?
  @attributes.frozen?
end