Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

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
    David Phillips created the ticket at 7:14 PM

    When performing an un-ordered find query, 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
4980 Resource controller name pluralization regression was updated in Ruby on Rails
  • David Phillips
    David Phillips commented at 10:39 PM

    I 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
    David Phillips commented at 10:33 PM

    It 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
6386 ActiveSupport::Gzip.compress returns invalid UTF-8 strings was updated in Ruby on Rails
Tuesday, February 08 2011
6386 ActiveSupport::Gzip.compress returns invalid UTF-8 strings was created in Ruby on Rails
  • David Phillips
    David Phillips created the ticket at 1:25 AM

    ActiveSuport::Gzip.compress returns strings encoded as UTF-8:

        ruby-1.9.2-p136 :001 > ActiveSupport::Gzip.compress('').encoding
         => #<Encoding:UTF-8>
    

    B...