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

Wednesday, January 21 2009
1202 Add attributes writer method for an association. was updated in Ruby on Rails
  • Eloy Duran
    Eloy Duran commented at 3:57 PM

    New AutosaveAssociation patch, updated for edge and normalized into 1 diff.

Tuesday, January 13 2009
1751 AssociationCollection #first and #last cache. was created in Ruby on Rails
  • Eloy Duran
    Eloy Duran created the ticket at 7:39 PM

    Sometimes when testing or in irb, I seem to forget that the following does not work:

    
    first = firm.clients.first
    firm.clients.each { ... } # loads the target...
Sunday, January 11 2009
1728 Accessor methods for association instances. was updated in Ruby on Rails
  • Eloy Duran
    Eloy Duran commented at 6:19 PM

    @manfred Yup, indeed we did :) Right now I'm tearing the big patch it was part of apart, that should make it in easier.

  • Eloy Duran
    Eloy Duran created the ticket at 6:15 PM

    Currently the active_record/associations.rb contains code like the following:

    
    ivar = "@#{reflection.name}"
    
    # for reading
    association = instance_variable_...
1732 Remove transaction queries from assert_queries count. was created in Ruby on Rails
  • Eloy Duran
    Eloy Duran created the ticket at 6:19 PM

    In testing some functionality with transactions, I noticed that assert_queries works inconsistent with sqlite vs mysql.

    A sqlite transaction would produce 1 que...

Friday, January 09 2009
1202 Add attributes writer method for an association. was updated in Ruby on Rails
  • Eloy Duran
    Eloy Duran commented at 3:14 PM

    It's still progressing, I just started discussing some stuff with Michael. So expect a new and hopefully final patch.

Wednesday, December 17 2008
1202 Add attributes writer method for an association. was updated in Ruby on Rails
  • Eloy Duran
    Eloy Duran commented at 12:24 PM

    I will first update the patch once more with some of the feedback from Lance, on this ticket but also by email. So at least it won't be until I've had time for ...

Saturday, December 13 2008
950 AttributeDecorator, a new take on aggregation. was updated in Ruby on Rails
  • Eloy Duran
    Eloy Duran commented at 11:02 AM

    @Manfred: I think that'd be a good idea. Maybe include our real use case that it all was based on?

Thursday, December 11 2008
1202 Add attributes writer method for an association. was updated in Ruby on Rails
  • Eloy Duran
    Eloy Duran commented at 1:48 PM

    I created a flattened patch, which is updated for edge again. The changes to OrderedHash caused some breakage, so this patch depends on the patch in ticket #155...

1559 [Patch] OrderedHash does not sync it's @keys after mutating operations. was created in Ruby on Rails
  • Eloy Duran
    Eloy Duran created the ticket at 1:19 PM

    Here's a patch which fixes this for #delete_if, #reject!, and #reject.

    This probably holds true for any other mutating method, I haven't gone through them all e...