Michael Furmaniuk wrote: [...] > I'm still getting used to ActiveRecord outside of Rails and having a > hard time coming up with the right hash,
I've never used AR outside Rails, but from the information at http://www.juixe.com/techknow/index.php/2009/01/14/activerecord-ruby-on-rails-optional/ it looks like you'd use the same options as in Rails -- you just have to explicitly connect to the DB. Note: it took about 30 seconds of Web searching to find that article. :) > for now making my own query > seemed the best option since I can understand it. If you're going to use a library, take the time to learn how to *use* it. > When I can find a > good tutorial that describes how to build custom hashes I'll make the > switch. See above. > > Thanks for the help, I didn't realize that about the variable > interpolation. You're welcome! Perhaps you should read through the pickaxe book and make sure you're not missing other Ruby basics. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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 -~----------~----~----~----~------~----~------~--~---

