search for: execute_sql

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

2006 Nov 12
2
Model-less SQL results
...=> ''blue'', :count => 3], [:color => ''green'', :count => 1]...} end The usual Model.find_by_sql wouldn''t work as I''m not returning a model, and I''m not seeing anything jump out at me like ActiveRecord::Base::Connection.execute_sql for doing this sort of arbitrary sql execution. Any suggestions? Am I missing something really obvious? -- Craig Beck AIM: kreiggers --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&quo...