Please quote when replying.

John Sayeau wrote in post #966562:
> I get that the error says that it's trying to insert inappropriate data
> into the users table. It looks like I just need to find out why it's
> picking the users table instead of the products table. I don't know
> where the insert is coming from.

Rails always gives a line number as part of its stack trace when errors 
are generated.  If looking there is not sufficient, then perhaps you 
should use the debugger to step through your code and find out.  Or 
write more tests to figure out where the failure is.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

-- 
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