I'm a newbie to Ruby/Rails as well. When I tried 'my_test' in the URL
(i.e. http://localhost:3000/my_test/index), and all permutations of it
thereafter, I still kept getting the 'no route to found to match...'
error. However, there is a configuration in the routes.rb file that will
make these URLs work (apparently, since Rails 3, this is the
configuration to put in). Just insert the below configuration anywhere
in the routes.rb file
match 'my_test/index' => 'my_test#index'
Restart Rails after this, and try the
http://localhost:3000/my_test/index URL again. Hopefully, that should do
it.
Good luck,
G.
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.