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

Tuesday, January 18 2011
6268 [Arel] Offset + Count != good was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 10:39 PM

    Is AR setting the offset, or is that coming from your application code?

    I tend to agree with you about removing the offset on count(*) queries. I just wonder if...

Friday, January 14 2011
6229 relation_scoping_test.rb and method_scoping_test.rb failing on Oracle was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from new to resolved
    • Importance changed from to Low
    by Aaron Patterson at 6:52 PM

    Fixed this, so closing.

6098 ActiveRecord Fixture class was updated in Ruby on Rails
  • Aaron Patterson
    • Milestone set to 3.1
    by Aaron Patterson at 6:48 PM

    Can you rebase this patch off master and I'll apply it for 3.1

6268 [Arel] Offset + Count != good was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 6:40 PM

    Hi Tobias, what database are you using? From the SQL generated, I assume mysql?

Wednesday, January 12 2011
6204 accepts_nested_attributes_for fails if nested attributes set from Class finders was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from new to open
    • Importance changed from to Low
    by Aaron Patterson at 11:47 PM

    @Alexey your patch makes the AR tests fail with:

      1) Error:
    test_first_and_array_index_zero_methods_return_the_same_value_when_nested_attributes_are_set_to_up...
Tuesday, January 04 2011
6242 Use Rails 3.1 `change` method in migration and model generators was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from new to committed
    by Aaron Patterson at 7:37 PM

    Applied, thanks!

6236 NoMethodError: undefined method `fetch_fields' for nil:NilClass: BEGIN was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from open to resolved
    by Aaron Patterson at 4:24 AM

    I fisted this.

Monday, January 03 2011
6069 Support MS SQL Server in Arel was updated in Ruby on Rails
  • Aaron Patterson
    • State changed from new to committed
    • Importance changed from to Low
    by Aaron Patterson at 11:21 PM

    Thanks, I've applied this.

Thursday, December 23 2010
6125 SQLite3::CorruptException: database disk image is malformed was updated in Ruby on Rails
Tuesday, December 21 2010
6125 SQLite3::CorruptException: database disk image is malformed was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 5:19 PM

    Hey Sam,

    I was able to reproduce (yay). I haven't found a solution yet though.

    I found that the database corruption would only happen if postfix was running. Yo...