Module: ActiveRecord::ReadonlyAttributes
- Extended by:
- ActiveSupport::Concern
- Included in:
- Base
- Defined in:
- lib/active_record/readonly_attributes.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#_attr_readonly ⇒ Object
24 25 26 27 28 |
# File 'lib/active_record/readonly_attributes.rb', line 24 def _attr_readonly = "Instance level _attr_readonly method is deprecated, please use class level method." ActiveSupport::Deprecation.warn defined?(@_attr_readonly) ? @_attr_readonly : self.class._attr_readonly end |