iain
Not a member
iain's latest activity
Saturday, March 19 2011
-
iain created the ticket at 9:35 PMGiven a scope with extensions
When I use theexceptto remove a part from the relation
Then the extensions are gone, becauseexceptreturns a brand new relation...
Wednesday, December 08 2010
-
iain commented at 9:33 PMjson_test.rb is the code I showed (minus a "require 'config/environment'" line to load my Rails app).
To fix it, we need to dig in activesupport/lib/active_supp... -
iain commented at 8:42 PMBTW: this issue was introduced in Rails 3.0.2, the above code works fine in Rails 3.0.1
-
- Tag changed from json to_json encode struct to as_json, encode_json, json, to_json
+1
It's not really a problem with Structs, but with classes included in native structures.
A test case:
class Sub def as_json(*) { :foo => "bar" } end ...
Friday, July 30 2010
-
iain commented at 9:23 AMNot be freaking anybody out, but I'm having this problem since I upgraded Rails 3.0.0.beta4 to 3.0.0.rc. It never happened before I upgraded, and now it happene...
Monday, July 26 2010
-
iain commented at 11:06 PMConfirming that it has been fixed rc1: I tested a medium sized Rails 3.0.0.beta4 app with 'ab':
0 requests: 94.2MB
50 requests: 268.0MB
100 requests: 320.8MB
20...
Monday, April 19 2010
-
iain created the ticket at 3:17 PMI found an issue with I18n and adding errors to base which I fixed. It tried to call the base method on the record, as the I18n-part thought it was a normal att...
Saturday, April 17 2010
-
iain commented at 10:13 PM@David: That's not an error. In Rails 3 you should do this. That works even in HAML.
Thursday, July 09 2009
-
iain commented at 10:25 AM+1 the difference between destroy and delete is quite confusing, let's minimize the confusion