[Rails] Re: New page edit

2012-12-12 Thread Alex Korolev
Do you try this: resources :courses do member do get 'score' end end среда, 12 декабря 2012 г., 14:03:00 UTC+4 пользователь Ruby-Forum.com User написал: > > Alex Korolev wrote in post #1088794: > > Maybe you forgot add resource route? > > > > , 12 2012 ., 13:30:59 UTC+4 Ruby-Fo

[Rails] Re: New page edit

2012-12-12 Thread Lorenz Blackbird
Ok, this is the solution: resources :courses do member do get 'score' end end Thanks Alex. -- 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 t

[Rails] Re: New page edit

2012-12-12 Thread Lorenz Blackbird
Alex Korolev wrote in post #1088794: > Maybe you forgot add resource route? > > , 12 2012 ., 13:30:59 UTC+4 Ruby-Forum.com User > : In routes.rb is present: resources :courses and I add/remove: match 'courses/:id/score' => 'course#score', :as => :score in many version... but don't work :

[Rails] Re: New page edit

2012-12-12 Thread Alex Korolev
Maybe you forgot add resource route? среда, 12 декабря 2012 г., 13:30:59 UTC+4 пользователь Ruby-Forum.com User написал: > > Hi, > > I'm a newbie and I can't resolve a simple problem. I generated a > scaffold "course" and now I try to create a new page to edit my data, > because my goal is pro