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.

hemant's latest activity

Friday, May 13 2011
6217 has_many :through associations are created with .create! even if the parent i... was updated in Ruby on Rails
  • hemant
    • Tag changed from activerecord, has_many_through, validation to :confirm, activerecord, has_many_through, testcase, validation
    by hemant at 10:16 AM

    +1 The issue exists in edge rails and all previous versions.
    I've attached a failing test.

    I see that in activerecord/lib/active_record/associations/has_many_th...

Saturday, February 26 2011
3761 inverse_of causes infinite loop with accepts_nested_attributes_for was updated in Ruby on Rails
  • hemant
    hemant commented at 6:30 PM

    Santiago,

    I've attached a patch that demonstrates test for this problem on master branch.

    Also I could replicate the issue locally on 3.0.3 stable branch.

Friday, January 21 2011
6318 Rails 3.0.3 --skip-test-unit not working correctly. was updated in Ruby on Rails
  • hemant
    hemant commented at 7:32 PM

    Working fine for me

    I couldn't replicate the issue with rails 3.0.3 tried using following ruby versions
    REE 1.8.7 patchlevel 248
    1.9.2dev (2009-07-18 trunk 2418...

Wednesday, January 19 2011
6252 incorrect scope in associated collection methods was updated in Ruby on Rails
  • hemant
    hemant commented at 10:08 PM

    Hi Jon,

    I could replicate the issue using the tests provided by Jan Xie.

    In association_collection.rb I've removed scoped.scoping around build_record(attrs, &bl...