Chris Wanstrath
cowboy. · Account owner
Chris Wanstrath's latest activity
Saturday, September 22 2007
Friday, September 21 2007
114
Large page count when paginating an association along with deep conditions
was updated
in Plugins
-
-
Chris Wanstrath commented at 11:59 AMYou can do this already, y'know:
class Company def self.high_rated query_context.select { |c| c.rating > 3 } end end >> Company.high_rated.to_s...
Tuesday, September 18 2007
-
Chris Wanstrath created the ticket at 12:41 PMNicolas wants:
class Provider < AR has_many :orders end class Order < AR belongs_to :provider end Provider.select { |p| p.name =~ 'A%' && p.orders...