# File lib/dm-core/model.rb, line 429 def first_or_new(conditions = {}, attributes = {}) first(conditions) || new(conditions.merge(attributes)) end