method

init_with_attributes

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.