Flowdock
method

find_or_initialize_by

Importance_1
v5.2.3 - Show latest stable - 0 notes - Class: ActiveRecord::Relation
find_or_initialize_by(attributes, &block) public

Like #find_or_create_by, but calls {new}[rdoc-ref:Core#new] instead of {create}[rdoc-ref:Persistence::ClassMethods#create].

Show source
Register or log in to add new notes.