I've tried to run scaffold-generated tests and the results is not what I
would have expected. Basically all tests fail because the framework is
trying to delete from the table and ignoring the table alias. I have two
problems with that.
1. So I understand now that by default the test framework is trying to
load the test fixtures and before doing so it deletes the old ones. But
I don't want to delete anything from my database. How do I prevent the
test framework from trying to delete records?
2. Why is the table alias being ignored? When executed as a rails
application the table alias is resolved correctly.
-- 
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