Amos King
Software Developer · Not a member
Amos King's latest activity
Sunday, July 11 2010
-
Amos King commented at 5:46 AMirb(main):003:0> require 'json'
=> true irb(main):005:0> Try = Class.new(BasicObject) { def method_missing(*) nil; end }
=> Try irb(main):006:0> Try.new.to_json
...
Wednesday, June 30 2010
-
Amos King commented at 4:03 PMWhat if the implementation used BasicObject if the implementation is Ruby 1.9? I'm not in a place where I can test that right now.
-
Amos King commented at 3:00 PMWhy not support both syntaxes for a little while, and see where the community goes with it. Then we can deprecate one, or maybe decide to keep both?
-
-
- Tag changed from active_support, core_ext, patch, rails3 to active_support, core_ext, documentation, patch, rails3
I also updated the documentation in the same patch.
-
- Tag changed from active_support, core_ext, rails3 to active_support, core_ext, patch, rails3
here is a patch, and it keeps backwards compatibility.
-
Amos King created the ticket at 5:35 AMThe syntax for try is really ugly with array/hash access. ie. list.try(:[],4)
I would really like to see try return a proxy object when the original object is a...
Tuesday, June 15 2010
-
Amos King commented at 3:41 AMI can't reproduce this issue with the latest. Can I get an example so I can tackle this.
Wednesday, April 14 2010
-
Amos King commented at 2:04 AMI think it should stay as a patch. A framework should optimize because you don't know the end user's use case all the time, and if they have a lot of partals th...
Thursday, April 23 2009
-
Amos King commented at 3:18 PMRails should validate off of the attribute and save from the attribute. I'm not suggesting to change the save. The save currently works off of the attributes. I...