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.

Álvaro Bautista's latest activity

Wednesday, August 04 2010
5300 ActiveRecord before_save callback not working with update_attributes method was updated in Ruby on Rails
  • Álvaro Bautista
    Álvaro Bautista commented at 8:34 PM

    I'm sorry, the patch I submitted was wrong.

    I can't reproduce the error in a fresh application.

    The main difference between the fresh application from which I c...

  • Álvaro Bautista
    Álvaro Bautista created the ticket at 8:22 PM

    Writing some specs for a before_save callback it was not being called when I used the update_attributes method in rails 3.0.0.rc.

    I attach a patch that can be a...

Wednesday, June 30 2010
3299 HashWithIndifferentAccess#merge should accept block just like Hash#merge was updated in Ruby on Rails
  • Álvaro Bautista
    Álvaro Bautista commented at 4:24 PM

    Hi

    Sorry I haven't had time to update the patch.

    It seems that my slight modification works in Rails 3, however it needs to be into another file (as Bruno's pat...

Sunday, November 29 2009
3299 HashWithIndifferentAccess#merge should accept block just like Hash#merge was updated in Ruby on Rails
  • Álvaro Bautista
    • Tag changed from activesupport, hashwithindifferentaccess to activesupport, hashwithindifferentaccess, patch
    by Álvaro Bautista at 8:07 PM

    That behaviour could be easily implemented. I wrote a simple patch which provides it.