Displaying 1 result from an estimated 1 matches for "agents_book".
2006 Mar 09
2
issuing raw SQL in Rails
Hi -- I have a need to run the following SQL in a test:
"DELETE FROM agents_bookings"
Does anyone know of a way that I can just execute this?
It is to clear a many-to-many relationship in the teardown function of a
test.
Cheers,
doug.
--
Posted via http://www.ruby-forum.com/.