We are on Rails 2.3.
What is the upper bound on the number of routes Routes.rb can contain before performance is affected?
What are the key changes you made to the default Routes file created by scaffolding?
We like the default scaffolding in development since we can easily access/modify objects from the web as opposed to the database. However, this configuration is not tenable for a production environment. Is there a way to “activate” certain routes while in development?
One thing I always do is if you are doing resources, I always limit the routes by doing something like:
You can just put the following in your routes.rb file