I am Web developer and have experience mainly with the Django Web
framework for Python and wish to learn ROR.
I am currently using Rails 3.0.3 and was getting a routing error
whenever I added a view to a controller until I found out I had to add
the path to the routes.rb file under the config directory.
Is this new in Rails 3? I am asking this because I was following the
example in "Agile Web Development with Rails 3rd Edition" which uses
Rails 2 and getting the routing error.
I also find that if use the "rails generate" command the routes.rb file
is automatically updated. Does this mean that the proper way to create
views and controllers is to use the above command.
If so how do I create a view function in an existing controller without
having it being overwritten or is the manual way the only way to do
I hope that is clear.