James MacAulay
Not a member
James MacAulay's latest activity
Thursday, November 04 2010
5917
[PATCH] ActiveRecord::Base#dup changed drastically in 3.0, should be brought ...
was updated
in Ruby on Rails
-
James MacAulay commented at 4:19 PM -
Thursday, September 30 2010
5746
[PATCH] rendering a partial with an array as its :object should not behave as...
was updated
in Ruby on Rails
-
James MacAulay commented at 8:38 PM -
- Title changed from rendering a partial with an array as its :object behaves as if it were :collection to [PATCH] rendering a partial with an array as its :object should not behave as if it were passed as :collection
- Tag changed from action_view to action_view, bug
Made a patch to fix this. At first I thought this was an intentional change, but after working with the code more I realize that it's probably just a bug.
-
James MacAulay created the ticket at 7:42 PMThis code does not work the same way as it did in 2.x:
render :partial => "things", :object => ['foo', 'bar', 'baz']In 2.x, the "things" partial would be ren...
Tuesday, May 18 2010
4646
[BUG] [PATCH] ActiveSupport::Multibyte::Chars concatenation with #+ (plus) me...
was updated
in Ruby on Rails
-
- Title changed from [BUG] ActiveSupport::Multibyte::Chars concatenation with #+ (plus) method should not alter the original to [BUG] [PATCH] ActiveSupport::Multibyte::Chars concatenation with #+ (plus) method should not alter the original
Tested and fixed.
-
-
James MacAulay created the ticket at 8:30 PMThis is the current implementation of AS::MB::Chars#+ :
def +(other) self << other endBut + concatenation should not alter the original like << does.
Friday, April 09 2010
4358
[PATCH] add :root option to ActiveModel JSON serialization
was created
in Ruby on Rails
-
James MacAulay created the ticket at 6:51 PMCurrently there is no way to specify a custom root key for JSON encoding of ActiveModel/ActiveRecord objects.
This patch allows a :root option in calls to
encod...