# File lib/factory_girl/declaration/association.rb, line 4 def initialize(name, options) super(name, false) @options = options end
# File lib/factory_girl/declaration/association.rb, line 9 def ==(other) name == other.name && options == other.options end
# File lib/factory_girl/declaration/association.rb, line 19 def build factory_name = @options.delete(:factory) || name [Attribute::Association.new(name, factory_name, @options)] end