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.

Timo Mika Gläßer's latest activity

Friday, August 06 2010
5214 In new router, collection doesn't add name of the parent resource was updated in Ruby on Rails
Wednesday, August 04 2010
5293 methods for routes not getting generated was updated in Ruby on Rails
  • Timo Mika Gläßer
    Timo Mika Gläßer commented at 12:42 PM

    This is actually not a bug. The object was not yet stored in MongoId or ActiveRecord and after some digging I found that to_param calls persisted? and return ni...

  • Timo Mika Gläßer
    Timo Mika Gläßer created the ticket at 11:10 AM

    In my app the following routes definition

    resources :organizations do
      resources :branches
    end
    

    produces

    No route matches {:controller=>"branches", :action=>...
5214 In new router, collection doesn't add name of the parent resource was updated in Ruby on Rails
  • Timo Mika Gläßer
    Timo Mika Gläßer commented at 11:01 AM

    I think what is actually wrong in your example is the nesting of

        collection do
          resources :genres
        end
    

    where is should just read

      resources :boo...