Pratik Naik cd994eff9a Allow conditions on multiple tables to be specified using hash.
Examples:

  User.all :joins => :items, :conditions => { :age => 10, :items => { :color => 'black' } }
  Item.first :conditions => { :items => { :color => 'red' } }

Note : Hash key in :conditions is referring to the actual table name or the alias defined in query.
2008-06-28 01:27:51 +01:00
2008-06-22 10:38:25 -07:00
2008-06-22 10:38:25 -07:00
2008-06-22 10:38:25 -07:00
2008-06-22 10:38:25 -07:00
2008-06-22 10:38:25 -07:00
2008-06-22 10:38:25 -07:00
2008-05-31 17:03:03 -07:00
Description
No description provided
85 MiB
Languages
Ruby 97.9%
CSS 1.5%
HTML 0.5%