Dear Folks, 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 this? I hope that is clear. Thanks. -- Posted via http://www.ruby-forum.com/. -- 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-t...@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.