No “(.:format)” in Rails 3.1 when trying to route site root
问题 Since upgrading to Rails 3.1, I've been having a problem with my site's routing. Previously, with Rails 3.0, I was able to do this in my router config: resources :quotes, :path => "" root :to => "quotes#index" That would give me routes like GET /(.:format) and such, which is what I want since the index action of my QuotesController can also return data in JSON, XML and ATOM. Now, since upgrading to Rails 3.1, the routes have been showing up like this: GET / . The (.:format) is gone, and