search for: usertable1000

Displaying 1 result from an estimated 1 matches for "usertable1000".

2005 Mar 06
9
How to do SQL queries outside of AR
...9;t think AR can be made to handle that situation. You can assign the table name; but that''s a class variable so any particular derived class can only represent one table at a time (ie, you can''t have two ''UserTable'' objects at the same time, one representing UserTable1000 and the other representing UserTable 1001). Anyway, does anyone know how I can do queries inside the Controller, or how I can hack an ActiveRecord object to work with many different tables? Maybe I should just make a dummy ActiveRecord object and write class methods to return my special queri...