Here is the relevant documentation:
http://rdoc.info/github/thoughtbot/factory_girl/file/GETTING_STARTED.md#Associations
Or if it already exists you might try:
FactoryGirl.define :account do
location { Location.where("city = ?", 'Austin').first }
end
(The code in the block just needs to retur
>From reading the error and the docs, it sounds like the last one:
select 'Honda', :from => "account[car_type]"
...should work. The one thing I can think of that might keep it from
working would be not being scoped to an area that includes the select box.
Perhaps you could install pry and add bin