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.

Emilio Tagua's latest activity

Wednesday, March 31 2010
4235 eager loading of associations not working in rails 3? was updated in Ruby on Rails
  • Emilio Tagua
    Emilio Tagua commented at 1:45 PM

    Jason,

    You could try something like this:

    Post.includes(:comments).where(Comment.arel_table[:title].eq("Welcome ..."))
    
Saturday, March 27 2010
4235 eager loading of associations not working in rails 3? was updated in Ruby on Rails
  • Emilio Tagua
    • State changed from new to invalid
    by Emilio Tagua at 2:05 AM

    Hey Jason,

    This 2 queries is the expected behavior, you would get one query with an OUTER JOIN if any restriction includes a reference in conditions, order, etc...

Friday, March 26 2010
4259 Remove unused attributes_with_quotes method was updated in Ruby on Rails
Tuesday, March 23 2010
4259 Remove unused attributes_with_quotes method was created in Ruby on Rails
  • Emilio Tagua
    Emilio Tagua created the ticket at 3:27 PM

    This method was removed in favor of using arel_attributes_values method.

Monday, March 22 2010
4253 Make relation instance variables handling consistent was created in Ruby on Rails
  • Emilio Tagua
    Emilio Tagua created the ticket at 6:46 PM

    This patch addresses 2 issues:

    • From and lock should be defined to be consistent with other ivars definition.
    • Limit and offset are always defined, no need to te...
4235 eager loading of associations not working in rails 3? was updated in Ruby on Rails
  • Emilio Tagua
    Emilio Tagua commented at 1:27 PM

    Hey Jason,

    Can you provide a failing test or something more specific, because i tried this on master:

    Post.joins(:comments).includes(:comments).all

    and you get ...

Friday, March 12 2010
3727 Arel gives invalid SQL for empty array was updated in Ruby on Rails
  • Emilio Tagua
    • State changed from new to invalid
    by Emilio Tagua at 7:34 PM

    This is fixed in master, feel to re-open it if you can reproduce the problem.

3633 Undefined method, 'having', for Arel gem was updated in Ruby on Rails
  • Emilio Tagua
    • State changed from new to resolved
    by Emilio Tagua at 6:54 PM

    This was a problem in Arel release not including having, this issue is already solved.

Emilio Tagua Emilio Tagua was invited to Ruby on Rails at 6:40 PM
Wednesday, March 10 2010
4142 arel methods in scope cause issues with non-existent tables was updated in Ruby on Rails