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

Thursday, December 09 2010
6065 ActiveRecord::Observer is not aware of method added by including modules was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 6:39 PM

    sigh. Why didn't observers work like this in the first place?

    This patch is fine and I'll apply.

6036 Id is inproperly escaped on postgresql statements when primary key is a string was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 5:37 PM

    Should be backported now. Thanks guys!

6064 Exceptions from after_commit and after_rollback from observers are quietly sw... was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from new to open
    by Aaron Patterson at 1:00 AM

    @Neeraj, do you remember the test that made this assertion? I can do some code archeology.

Wednesday, December 08 2010
6054 DateTime in to_xml returns GMT from 3.0.2 was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 11:13 PM

    oops, I meant a dup of #6096

  • Aaron Patterson
    • State changed from new to needs-more-info
    by Aaron Patterson at 11:09 PM

    I think this is a dup of #6069, but I need more information. Can you provide the code that reproduces the problem?

6096 to_xml datetime format regression was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 11:07 PM

    I've been investigating this, and it looks like if you set ActiveRecord::Base.time_zone_aware_attributes to true, the problem goes away.

    I checked out the v3.0....

Tuesday, December 07 2010
6054 DateTime in to_xml returns GMT from 3.0.2 was updated in Ruby on Rails
  • Aaron Patterson
    • Milestone cleared.
    • Assigned user set to Aaron Patterson
    • Importance changed from to Low
    by Aaron Patterson at 9:49 PM
Wednesday, December 01 2010
5939 attr_accessor not accessible through accepts_nested_attributes_for was updated in Ruby on Rails
Tuesday, November 30 2010
6023 Unable to find by subclasses of String in activerecord was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from new to resolved
    by Aaron Patterson at 7:13 PM

    @Fluxx excellent! :-)

    I've pushed a new version of ARel that should fix the problem for you. It will spit out deprecation notices if you have -w set, but I won'...

  • Aaron Patterson
    Aaron Patterson commented at 6:54 PM

    Yes, I agree this is inconsistent behavior (and that sucks!) But the problem is, how does it know to convert to a string vs an integer. From your example:

    Keyw...