Module: Virtus::Model::MassAssignment
- Defined in:
- lib/virtus/model.rb
Overview
Constructor
Class Method Summary collapse
- .extended(descendant) ⇒ Object private
Class Method Details
.extended(descendant) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
60 61 62 63 64 |
# File 'lib/virtus/model.rb', line 60 def self.extended(descendant) super descendant.extend(Extensions::AllowedWriterMethods) descendant.extend(InstanceMethods::MassAssignment) end |