looks like the controller is assuming that the book_history table in
mysql's db.
have you specified the app to talk with mongodb.
other things like update and all worked for this tables? my opnion is
they might not work as well.
Thanks,
Siva
On 1/25/2012 2:16 PM, Lucky Nl wrote:
Hi friends,
Am using mysql and mongodb in my application.
I have create mongodb models for 2 tables
books and books_history
after created these , am running test cases for previously written
controllers which are not using mongodb tables
then am getting this error
------------------------------------------------------------------------------
ActiveRecord::StatementInvalid: Mysql::Error: Table
'develop_test.books_history' doesn't exist: DELETE FROM `books_history
--------------------------------------------------------------------------------
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.