Just sharing a Rail 2.3.2 upgrade experience. My app was running on
2.1.1 before I upgraded.

Most things worked but I could not get my default route in routes.rb
to work. The default route URL was "/". I had a route like this in
routes.rb as the very last route:

map.connect "", :controller => "foo", :action => "bar"

So users who went to the base URL would be directed to the foo
controller.

This stopped working with Rails 2.3.2 and I wasted half a day figuring
out what was wrong. Turns out, I just needed to delete public/
index.html. That's it. The same route works perfectly after deleting
that file.

There is a comment in the Rails code which mentions this but I don't
see it in the documentation for Rails routes.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to