# File lib/her/model/associations/has_many_association.rb, line 74 def create(attributes = {}) resource = build(attributes) if resource.save @parent.attributes[@name] ||= Her::Collection.new @parent.attributes[@name] << resource end resource end