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.

Eloy Duran's latest activity

Monday, February 16 2009
1930 [patch] autosave should validate associations even if master is invalid was updated in Ruby on Rails
  • Eloy Duran
    Eloy Duran commented at 8:32 AM

    Mais oui. I'll probably have something to show tonight.

  • Eloy Duran
    Eloy Duran commented at 8:31 AM

    Mais oui. I'll probably have something to show tonight.

1911 Neset forms and attr_accessible was updated in Ruby on Rails
Sunday, February 15 2009
1930 [patch] autosave should validate associations even if master is invalid was updated in Ruby on Rails
  • Eloy Duran
    Eloy Duran commented at 8:57 PM

    Instead of alias-ing super could probably be used and I agree that going the validate way is a good one.

    But I wonder if we should maybe move the automatically ...

  • Eloy Duran
    Eloy Duran commented at 6:04 PM

    Just wanted to add that I do in fact have an idea that I'm currently investigating.

  • Eloy Duran
    Eloy Duran commented at 5:58 PM

    The main problem atm is that the patch duplicates the add_single_associated_validation_callbacks and add_multiple_associated_validation_callbacks methods. Which...

Friday, February 13 2009
1930 [patch] autosave should validate associations even if master is invalid was updated in Ruby on Rails
  • Eloy Duran
    Eloy Duran commented at 8:10 AM

    @Gaspard: I understand what the second patch does, however I need some time to think it over and come up with the right test coverage.

    Because actually at some ...

Thursday, February 12 2009
1930 [patch] autosave should validate associations even if master is invalid was updated in Ruby on Rails
  • Eloy Duran
    Eloy Duran commented at 2:45 PM

    I have checked and verified your first patch. (I also added a few more tests for collection associations). +1

    I haven't yet had the time to do the same with the...

Tuesday, February 10 2009
1928 [PATCH] accepts_nested_attributes_for should not redefine the attribute writer was updated in Ruby on Rails
  • Eloy Duran
    Eloy Duran commented at 2:06 PM

    Ah ok, no problem :)

    Unfortunately I can't close any tickets, or have tickets assigned to me for that matter…

1895 Export OrderedHash to XML and JSON was updated in Ruby on Rails
  • Eloy Duran
    Eloy Duran commented at 1:31 PM

    Also, I just remembered OrderedHash is a subclass of Hash nowadays, so this probably already works as it should in 2.3. (That is, dumping as an unordered hash).