search for: hiringstep_job

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

Did you mean: hiringstep_jobs
2006 Sep 23
1
Better rails way to join tables?
Hi, I''ve figured out how to join tables using :joins, but is there a more elegant way to do this using built-in rails methods? Here is the code: Hiringstep_Job.find( :all, :joins => ", hiringsteps", :conditions => ["hiringstep_jobs.hiringstep_id = hiringsteps.id AND job_id = ?", 1]) Thanks, David -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because...