Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Chris Wanstrath's latest activity

Saturday, September 22 2007
[AutoMigrations] simple schema_to_mig... was committed by Chris Wanstrath at 1:30 PM
Friday, September 21 2007
114 Large page count when paginating an association along with deep conditions was updated in Plugins
  • Chris Wanstrath
    • State changed from new to open
    by Chris Wanstrath at 5:38 PM

    Thanks, that would be awesome.

105 add scoped finders was updated in Plugins
  • Chris Wanstrath
    Chris Wanstrath commented at 12:00 PM

    Maybe this is worth posting about.

  • Chris Wanstrath
    Chris Wanstrath commented at 11:59 AM

    You 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
113 empty? on associations was updated in Plugins
  • Chris Wanstrath
    Chris Wanstrath created the ticket at 12:41 PM

    Nicolas wants:

    class Provider < AR
     has_many :orders
    end
    
    class Order < AR
     belongs_to :provider
    end
    
    Provider.select { |p| p.name =~ 'A%' && p.orders...
Monday, September 17 2007
[AutoMigrations] remove edge requirem... was committed by Chris Wanstrath at 7:37 PM
cache_fu: match instance get_cache be... was committed by Chris Wanstrath at 5:58 PM
cache_fu: handle non-array includes ... was committed by Chris Wanstrath at 5:45 PM
110 [PATCH] Handle include without array brackets was updated in Plugins
cache_fu: add in scoped keys for inst... was committed by Chris Wanstrath at 5:45 PM