Displaying 2 results from an estimated 2 matches for "3aclassmethods".
2006 May 23
8
ad-hoc query
How do you run an ad-hoc query that does not belong in any model? I
thought it was something like ActiveRecord::connection.find("my
query..."), but I can''t seem to find the documentation on it. I know
I''ve seen it somewhere before, though.
thanks,
Jeff
--
Posted via http://www.ruby-forum.com/.
2006 Aug 16
3
Reflecting on associations
Is there an easy way to programatically work out the associations on a model?
If not, is there a positive reason it was omitted, or is it just something that
hasn''t been implemented yet?
Thanks
Gareth