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.

Aaron Patterson's latest activity

Wednesday, March 23 2011
5060 ActiveRelation "offset().empty?" produces unexpected result was updated in Ruby on Rails
  • Aaron Patterson
    • Milestone changed from 3.0.6 to 3.x
    by Aaron Patterson at 10:06 PM

    I'm liking John's ideas, but his changes should not go in a bugfix release. So I'm moving to 3.x.

6562 HABTM join tables cleared on destroy even if a before_destroy says don't was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from open to committed
    • Milestone set to 3.0.6
    by Aaron Patterson at 9:49 PM

    Applied and pushed. Thanks a bunch!

  • Aaron Patterson
    • State changed from needs-more-info to open
    by Aaron Patterson at 9:30 PM

    @Murray awesome, thank you. I think the foreign key fix should be dealt with in the other ticket. :-)

Tuesday, March 22 2011
6450 Arel generates invalid SQL when using DISTINCT ON in PostgreSQL was updated in Ruby on Rails
  • Aaron Patterson
    • Milestone set to 3.x
    • Importance changed from to Low
    by Aaron Patterson at 11:30 PM

    I'd like to remove the automatic subselect generation. It's a relic from ARel 1.0.

    However, removing the subselect generation breaks tests in AR. Specifically, ...

6562 HABTM join tables cleared on destroy even if a before_destroy says don't was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from new to needs-more-info
    by Aaron Patterson at 10:14 PM

    It seems this patch changes the current behavior such that the exception isn't re-raised. Can you possibly provide an implementation that doesn't change the exi...

1152 Support for nested :through associations was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from open to committed
    • Assigned user changed from Pratik to Jon Leighton
    by Aaron Patterson at 5:17 PM

    Merged to master. Closing.

Monday, March 21 2011
6058 update_all ignores conditions, when :orders and :limit options are supplied was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 9:57 PM

    @Hugo I've applied this patch to ARel master which is the unreleased 2.1.0 version.

    Would you mind backporting this to 2.0.x?

6598 ActiveRecord::Relation#except and #only loses scope extensions was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from new to committed
    • Milestone set to 3.0.6
    • Importance changed from to Low
    by Aaron Patterson at 5:35 PM

    Merged. Thanks!

Tuesday, March 08 2011
6157 ActiveRecord scope class method requires a database connection was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from new to open
    • Assigned user set to Aaron Patterson
    • Importance changed from to Low
    by Aaron Patterson at 4:21 PM

    @Peer, can you provide the source for "legacy_database". I cannot debug the problem without knowing why requiring that file will produce an ActiveRecord::Connec...

Tuesday, March 01 2011
6489 Fix before_type_cast for timezone aware datetime attributes was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from new to open
    • Milestone set to 3.0.6
    • Assigned user set to Aaron Patterson
    • Importance changed from to Low
    by Aaron Patterson at 4:34 PM