Module: ActiveRecord::AttributeAssignment

Extended by:
ActiveSupport::Concern
Includes:
ActiveModel::AttributeAssignment
Included in:
Base
Defined in:
lib/active_record/attribute_assignment.rb

Instance Method Summary collapse

Instance Method Details

#attributes=(attributes) ⇒ Object

Alias for ActiveModel::AttributeAssignment#assign_attributes. See ActiveModel::AttributeAssignment.


9
10
11
# File 'lib/active_record/attribute_assignment.rb', line 9

def attributes=(attributes)
  assign_attributes(attributes)
end