method

init_with_attributes

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: 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.

Show source
Register or log in to add new notes.