search for: test_word

Displaying 1 result from an estimated 1 matches for "test_word".

2011 Feb 23
5
Routing problem
In my app i have word model, words_controller and want create new action for word model. I create new method ''test'' in words_controller, and adds: resources :words do member do put ''test'' end end in routes.rb my rake routes output: test_word PUT /words/:id/test(.:format) {:action=>"test", :controller=>"words"} words GET /words(.:format) {:action=>"index", :controller=>"words"} POST /words(.:format) {:action=>"create", :control...