Álvaro Bautista
Not a member
Á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 commented at 8:34 PMI'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 created the ticket at 8:22 PMWriting 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 commented at 4:24 PMHi
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
-
- Tag changed from activesupport, hashwithindifferentaccess to activesupport, hashwithindifferentaccess, patch
That behaviour could be easily implemented. I wrote a simple patch which provides it.