Colin Law wrote in post #966572:

>
> If the error occurs before it actually starts running the tests and
> happens whatever test you are running it may be an issue with loading
> the fixtures into the test database.  Have you got fixtures for the
> users table (probably test/fixtures/users.yml)?  Have you got
> image_url specified in the fixture but not in the database?
>
> Once you have worked through the tutorial then I would advise
> forgetting about fixtures and using Factories instead.
>
> Colin


pretty sure this is the problem. For some reason the generated users.yml 
and the generated products.yml file are the same.  Just started this 
chapter about an hour ago so I don't exactly understand what these files 
are for yet...thanks. I'll just try editing the users.yml file to get it 
to reflect the columns in the table.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to