Hi, I'm curious. If you saw the Rails "select_all(sql, name = nil)" method (rerfer http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/DatabaseStatements.html#M001060), and wanted to use it, how would you really know how to use it and call it from this API doco?
I know from googling that you can call it from within a model by going "ActiveRecord::Base.connection.select_all(sql_string)", but how would I have worked this out from the API doco. Within the API page for the method it says it's within Module "ActiveRecord::ConnectionAdapters::DatabaseStatements". Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

