thoughtbot/factory_girl — comment on commit 105e892dd211410884d825ca115757113b2394cc
File: lib/factory_girl/attribute_assigner.rb line 66
By ijcd:

Just wondering about the purpose of excluded the aliases here? I'm trying to use FactoryGirl to create ActiveResource mocks (where there aren't real associations) so this isn't working:

ignore do
merchant { Factory(:merchant) }
end

merchant_name { merchant.name }
merchant_id { merchant.id }

Where the idea is:

Factory(:resource, :merchant => Factory(:merchant, ...))