Module: ActiveRecord::ReadonlyAttributes
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::ActiveSupport::Concern
|
|
Defined in: | activerecord/lib/active_record/readonly_attributes.rb |
Class Method Summary
::ActiveSupport::Concern
- Extended
class_methods | Define class methods from given block. |
included | Evaluate given block in context of base class, so that you can write class macros here. |
prepended | Evaluate given block in context of base class, so that you can write class macros here. |
DSL Calls
included
[ GitHub ]7 8 9
# File 'activerecord/lib/active_record/readonly_attributes.rb', line 7
included do class_attribute :_attr_readonly, instance_accessor: false, default: [] end