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.

Ernie Miller's latest activity

Sunday, May 23 2010
4463 JoinAssociation#aliased_table_name_for bug affecting AR find_with_associations? was updated in Ruby on Rails
  • Ernie Miller
    • Tag changed from activerecord, eager_loading, find_with_associations, patch, tests, updated to activerecord, eager_loading, find_with_associations, fixed, patch, tests, updated, updated_again
    by Ernie Miller at 2:11 PM
Saturday, May 22 2010
4463 JoinAssociation#aliased_table_name_for bug affecting AR find_with_associations? was updated in Ruby on Rails
  • Ernie Miller
    Ernie Miller commented at 8:32 PM

    Made a silly mistake in the previous patch, checking is_a? instead of class equality. Since JoinAssociation inherits from JoinBase, this can cause a stashed ass...

Friday, May 07 2010
4545 build_arel causes counterintuitive behavior with group and order was updated in Ruby on Rails
  • Ernie Miller
    Ernie Miller commented at 1:36 AM

    Works for me! I only added the last patch in because I inadvertently removed the SqlLiteral in the first one -- see the line:

    -        arel = arel.order(Arel::...
Thursday, May 06 2010
4545 build_arel causes counterintuitive behavior with group and order was updated in Ruby on Rails
  • Ernie Miller
    Ernie Miller commented at 11:12 PM

    Here you go!

  • Ernie Miller
    Ernie Miller commented at 11:02 PM

    Argh. CURSE YOU, POSTGRESQL!

    Fix forthcoming.

  • Ernie Miller
    • Assigned user set to Jeremy Kemper
    by Ernie Miller at 9:34 PM

    Jeremy,

    As much as I hate "assigning" tickets since you and I talked about this in IRC and you described the desired behavior, I figure you're the guy to send i...

  • Ernie Miller
    Ernie Miller created the ticket at 9:28 PM

    Current version of Arel does not handle multiple calls to order and group as it would appear build_arel expects it to.

    ruby-1.8.7-p249 > Article.order(:id, :cr...
Wednesday, May 05 2010
3208 belongs_to with :primary_key does not work with find's :include was updated in Ruby on Rails
  • Ernie Miller
    • Tag changed from 2, :include, activerecord, associations, belongs_to, bug, bugmash, patch to 2, :include, activerecord, associations, belongs_to, bug, bugmash, patch, tests
    by Ernie Miller at 11:35 PM
  • Ernie Miller
    Ernie Miller commented at 9:54 PM

    Updated tests for 2-3-stable and master

  • Ernie Miller
    Ernie Miller commented at 8:35 PM

    I'll cook something better up.