Flowdock
method

first_or_initialize

Importance_1
v3.2.3 - Show latest stable - 0 notes - Class: ActiveRecord::Relation
first_or_initialize(attributes = nil, options = {}, &block) public

Like first_or_create but calls new instead of create.

Expects arguments in the same format as Base.new.

Show source
Register or log in to add new notes.