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, December 15 2010
2247 has_one :through produces invalid SQL was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from new to resolved
    by Aaron Patterson at 7:19 PM

    Closing per Jon's comment.

2297 :through Associations don't respect default_scope was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from new to resolved
    by Aaron Patterson at 7:19 PM

    Fixed in master. Thanks Jon!

4361 has_many through self join does not include table alias, so fails was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 4:45 PM

    @Joe Yes, I can use patch, but then the commit history will have my name. I'd prefer to keep the credit where credit is due. I'd like to use git am to apply the...

  • Aaron Patterson
    Aaron Patterson commented at 6:51 AM

    @Joe Here is a video of what happens when I try to apply Ernie's patch:

    http://www.youtube.com/watch?v=aVegs3Uc5U0

    I think I'm applying the right thing.

  • Aaron Patterson
    Aaron Patterson commented at 1:01 AM

    @Joe Yes I applied both patches. Make sure it works against 3-0-stable please. Thanks!

  • Aaron Patterson
    • Milestone set to 3.1
    • State changed from verified to resolved
    by Aaron Patterson at 12:33 AM

    I've been making lots of changes to the associations in master so I ported this patch to master.

    The patch doesn't apply cleanly to 3-0-stable, so I tried porti...

Monday, December 13 2010
6129 Reduce memory bloat in ActiveRecord transactions was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 6:43 PM

    The problem is that WeakRef uses _id2ref to look up an object. _id2ref takes an object id, and returns the object corresponding with that id. The problem is tha...

Sunday, December 12 2010
4361 has_many through self join does not include table alias, so fails was updated in Ruby on Rails
  • Aaron Patterson
    • Milestone cleared.
    • Assigned user set to Aaron Patterson
    by Aaron Patterson at 7:47 PM
Saturday, December 11 2010
5081 undefined method `money_precision=' for #<Class:0x105d7dda8> in postgresql_ad... was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from incomplete to invalid
    by Aaron Patterson at 12:05 AM

    I'm closing this since it hasn't been updated. Please open a new ticket with a failing test and / or a fix if this is still an issue. Thanks.

Thursday, December 09 2010
6064 Exceptions from after_commit and after_rollback from observers are quietly sw... was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 6:47 PM

    I don't like this behavior. Exceptions should be raised. Unless someone stops me, I will make that happen. :-)