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.

ronin-22245 (at lighthouseapp)'s latest activity

Wednesday, November 24 2010
5988 belongs_to and includes() & joins() bug was updated in Ruby on Rails
Wednesday, November 17 2010
5614 'increment' and 'decrement' for ActiveRecord::Relation was updated in Ruby on Rails
Tuesday, November 16 2010
5988 belongs_to and includes() & joins() bug was updated in Ruby on Rails
  • ronin-22245 (at lighthouseapp)
    ronin-22245 (at lighthouseapp) commented at 8:47 PM

    This happens only when trying to call include on a model that belongs to another model. User.include(:tunes) works as expected.

  • ronin-22245 (at lighthouseapp)
    ronin-22245 (at lighthouseapp) created the ticket at 8:43 PM

    Hi,

    Calling SomeModel.includes(:users) doesn't generate INNER JOIN and throws TypeError:

    class User < ActiveRecord::Base
      has_many :tunes
    end
    
    class Tune < Ac...
Sunday, October 17 2010
5614 'increment' and 'decrement' for ActiveRecord::Relation was updated in Ruby on Rails
  • ronin-22245 (at lighthouseapp)
    ronin-22245 (at lighthouseapp) commented at 11:39 AM

    You're right Andrea. I've updated the patch with some documentation. Let me know what you think.

Saturday, October 16 2010
5614 'increment' and 'decrement' for ActiveRecord::Relation was updated in Ruby on Rails
Saturday, September 11 2010
5614 'increment' and 'decrement' for ActiveRecord::Relation was updated in Ruby on Rails