Álvaro Bautista
Not a member
Álvaro Bautista's latest activity
Sunday, October 31 2010
-
Álvaro Bautista commented at 10:18 AMYou're right, I didn't take that into account. Here it is a patch that does.
Tuesday, October 12 2010
-
Álvaro Bautista commented at 5:57 PMWell, I did misunderstood. ;)
However, I don't see any problem at all.
If you take a look at the test file for cookie stored sessions [http://github.com/rails/r...
Sunday, October 10 2010
-
Álvaro Bautista commented at 11:27 PMI kind of found a workaround, it consists of wrapping the yield call with with_output_buffer:
def wadus with_output_buffer { yield } endThat implies that a...
-
Álvaro Bautista commented at 7:45 PMI run your example and I got the same result.
In fact, it seems to happen when yield is called within any helper method. For instance, having the following help...
-
Álvaro Bautista commented at 10:31 AMI tried to reproduce it, but it works fine for me. Having the following action:
def nothing session[:is_there] = "anything wrong?" render :nothing => true ...
Saturday, October 09 2010
-
Álvaro Bautista commented at 7:00 PMMy patch was, in fact, not needed.
I'm sorry, I should have refreshed the ticket page before submitting.
-
- Tag changed from activesupport, hashwithindifferentaccess, params, patched to activesupport, hashwithindifferentaccess, params
I agree, since fetch is already overridden.
It may not be needed, as it is quite straightforward, but I attach a patch for it anyway.
Saturday, September 11 2010
-
- Tag changed from datetime, method_missing, timewithzone, timezone to datetime, method_missing, patch, timewithzone, timezone
The
ActiveSupport::TimeWithZone#localtimemethod is not covered by any test. It fails when callinggetlocalon a DateTime instance. A quick (and simple) workaro...
Saturday, August 07 2010
-
Álvaro Bautista commented at 6:33 PMAfter a quick look at the AR source code it seems that skipping callbacks in this method is intentional:
# Updates a single attribute and saves the record. #...
Wednesday, August 04 2010
-
Álvaro Bautista commented at 9:47 PMI found out my mistake. The method that fails is update_attribute. So my previous diff didn't fail because I was using update_attributes.
I attach the right pat...