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.

Tom Stuart's latest activity

Tuesday, October 21 2008
1215 Add :actions and :formatted options to map.resources was updated in Ruby on Rails
  • Tom Stuart
    Tom Stuart commented at 9:32 AM

    Thanks for the heads-up, Andrew. For the record, DHH said:

    Rails already deals with resource routes that lead to nowhere. We give you a 406 Not Supported back....

Thursday, October 16 2008
577 field_set_tag should take an options hash was updated in Ruby on Rails
Wednesday, October 15 2008
1216 2nd level namespace routing was updated in Ruby on Rails
  • Tom Stuart
    Tom Stuart commented at 12:13 PM

    This is wrong. The :namespace option is for internal use by the namespace method, to support nested namespaces -- if you insist on setting it manually you must ...

1215 Add :actions and :formatted options to map.resources was created in Ruby on Rails
  • Tom Stuart
    Tom Stuart created the ticket at 10:18 AM

    Attached is a patch to allow explicit specification of which actions should be routed by map.resources. For example:

    map.resources :posts, :actions => [:index,...
Monday, October 13 2008
1128 Fix config.gem bugs and add more tests was updated in Ruby on Rails
  • Tom Stuart
    Tom Stuart commented at 4:24 PM

    Yes, this is now working great: bootstrap succeeds but generates "no specification file, run rake gems:refresh_specs" warnings for every unpacked gem; rake gems...

Sunday, October 12 2008
1128 Fix config.gem bugs and add more tests was updated in Ruby on Rails
  • Tom Stuart
    Tom Stuart commented at 9:13 AM

    FWIW I tried rewinding my project and applying this patch; now I get:

    $ ./script/console
    Loading development environment (Rails 2.2.0)
    config/../vendor/rails/r...
Thursday, October 09 2008
1128 Fix config.gem bugs and add more tests was updated in Ruby on Rails
  • Tom Stuart
    Tom Stuart commented at 9:07 PM

    You're right, it's the absence of the .specification file that's causing the failure. The gems were unpacked (in the past) with Rails 2.1's rake gems:unpack, so...

  • Tom Stuart
    Tom Stuart commented at 9:19 AM

    FYI zdennis has reported the same issue (presumably) on http://github.com/rails/rails/co...>

  • Tom Stuart
    Tom Stuart commented at 9:06 AM

    This change broke gem loading in plugins, at least for my app. I've got BackgrounDRb installed in vendor/plugins; it depends on the packet gem, which is in vend...

Wednesday, October 08 2008
1188 Allow use of :path_prefix and :name_prefix outside of namespaced routes was created in Ruby on Rails
  • Tom Stuart
    Tom Stuart created the ticket at 9:40 AM

    The :path_prefix and :name_prefix options are supported almost correctly on all routes, but they are only removed from the options hash in divide_route_options ...