David Phillips
Not a member
David Phillips's latest activity
Wednesday, May 11 2011
6776
Return objects from ActiveRecord::Relation.find in argument order
was created
in Ruby on Rails
-
David Phillips created the ticket at 7:14 PMWhen performing an un-ordered
findquery, I often want the objects in argument order:Person.find(1, 2, 3) -> [#<Person id: 1>, #<Person id: 2>, #<Person id: 3...
Thursday, March 03 2011
-
David Phillips commented at 10:39 PMI agree that pluralization by default rarely makes sense for singular resources, but unfortunately, it probably can't be changed now due to backwards compatibil...
-
David Phillips commented at 10:33 PMIt seems intentional that singular resources pluralize the controller name. The routing guide has this note:
Because you might want to use the same controller ...
Wednesday, February 09 2011
Tuesday, February 08 2011
6386
ActiveSupport::Gzip.compress returns invalid UTF-8 strings
was created
in Ruby on Rails
-
David Phillips created the ticket at 1:25 AMActiveSuport::Gzip.compressreturns strings encoded as UTF-8:ruby-1.9.2-p136 :001 > ActiveSupport::Gzip.compress('').encoding => #<Encoding:UTF-8>B...