Notes posted by weexpectedTHIS
RSS feed
weexpectedTHIS -
November 16, 2011
1 thank
Change in clone for ActiveRecord objects in ruby-1.9.3
I noticed that cloning an active record object in ruby-1.9.3 and then changing an attribute on the original object will actually change the cloned object as well. This was not the case in ruby-1.9.2.
weexpectedTHIS -
October 3, 2011
0 thanks
@Mange
If you’re actually looking to cut down on code why not use .map instead of the longer .collect?