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.

blythe's latest activity

Friday, December 25 2009
3615 arel load errors running active_record tests was created in Ruby on Rails
  • blythe
    blythe created the ticket at 5:17 AM

    Cannot run activerecord tests on rails 3.0 without arel gem installed. Perhaps more consistent to add it to the load_path where required in active_record.rb?

    Ru...

3486 Alternative to validates_uniqueness_of using db constraints was updated in Ruby on Rails
  • blythe
    blythe commented at 5:00 AM

    +1! Super excited to see this patch! It would be nice to populate the AR error messages for save! before raising the exception as well, to be consistent with st...

3614 Customization options and validation consistency for validates_uniqueness_of ... was created in Ruby on Rails
  • blythe
    blythe created the ticket at 4:39 AM

    This patch extends #3486 to be consistent with standard AR validations and support customized error message. #3486 patches ActiveRecord to convert db-generated ...

Wednesday, November 04 2009
3457 ActionController::Caching::Sweeper controller instance is not thread safe was created in Ruby on Rails
  • blythe
    blythe created the ticket at 9:11 PM

    Since Sweeper is a singleton(derived from ActiveRecord::Observer or ActiveModel::Observer edge) it seems that multiple threads could modify the single controlle...

Tuesday, May 26 2009
2723 to_xml generates invalid xml with namespaced ActiveRecord was created in Ruby on Rails
  • blythe
    blythe created the ticket at 11:48 PM

    When using an ActiveRecord object with a namespace, the generated xml is not valid.

    MyApplication::Business::Project would generate
    <my-application/business/pro...

Friday, May 22 2009
1976 Scaffold generator not working well with namespaced resources was updated in Ruby on Rails
  • blythe
    blythe commented at 7:37 PM

    +1

2698 Add :margin option to XmlSerializer was created in Ruby on Rails
  • blythe
    blythe created the ticket at 6:45 PM

    When building custom XML with XmlSerializer (for ActiveRecord) its nice to be able to use the margin option of XMLBuilder rather than reformatting the string ou...

Monday, April 27 2009
2419 [Patch] Raise specific exceptions for violated database constraints was updated in Ruby on Rails
  • blythe
    blythe commented at 5:46 PM

    +1 for this Would love to use this to gracefully rescue unique and foreign keys. Would be cool to have the violated key name also like exception.key_name for ta...

Friday, February 13 2009
192 AR Test failure on latest mysql was updated in Ruby on Rails
  • blythe
    • Tag set to activerecord, patch, tests
    by blythe at 4:25 AM

    I am still getting errors with mysql 5.1.3 and also 5.0.67 using the mysql 2.7 gem.

    Is anyone else having trouble with other versions?

    I noticed it was changed ...