Module: Mongoid::ImmutableFields::ClassMethods
- Defined in:
- lib/mongoid_immutable_fields/immutable_fields.rb
Instance Method Summary collapse
Instance Method Details
#immutable_fields(*field_names) ⇒ Object
13 14 15 |
# File 'lib/mongoid_immutable_fields/immutable_fields.rb', line 13 def immutable_fields(*field_names) self.immutable_field_names = field_names end |