# File lib/active_record/mass_assignment_security/relation.rb, line 48 def first_or_initialize(attributes = nil, options = {}, &block) first || new(attributes, options, &block) end