method
init_with_attributes
v6.1.3.1 -
Show latest stable
- Class:
ActiveRecord::Core
init_with_attributes(attributes, new_record = false)public
Initialize an empty model object from attributes. attributes should be an attributes object, and unlike the `initialize` method, no assignment calls are made per attribute.