[Rails] Routing error in rails

2012-10-26 Thread ruby rails
In my controller I have def update_project_dates p "It is end date." @user=User.find(params[:user]) @projects=Project.find_all_by_user_id(@user) end In the view page (only some part of the code is copied and pasted) eventDrop: function() {

Re: [Rails] Routing Error in rails 3.0

2010-06-16 Thread Ivan Nastyukhin
hi show your routes please Ivan Nastyukhin dieinz...@me.com On Jun 16, 2010, at 10:31 AM, karnati kiran wrote: > Hi All, > > > $rails g controller Pages home contact > > then, I go to http://localhost:3000/pages/home > > I got > > Routing Error > > No route matches "/pages/contact" >

[Rails] Routing Error in rails 3.0

2010-06-15 Thread karnati kiran
Hi All, $rails g controller Pages home contact then, I go to http://localhost:3000/pages/home I got Routing Error No route matches "/pages/contact" How can I fix this problem? Thanks! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group

Re: [Rails] Routing error in Rails 3

2010-03-20 Thread Conrad Taylor
On Sat, Mar 20, 2010 at 1:52 AM, rjunee wrote: > I'm hoping someone can advise me on how to debug this routing error. > > My routes.rb includes: > resources :prospects, :only => ["create"] > > rake routes shows: > prospects POST /prospects(.:format) > {:controller=>"prospects", :action=>"create

[Rails] Routing error in Rails 3

2010-03-20 Thread rjunee
I'm hoping someone can advise me on how to debug this routing error. My routes.rb includes: resources :prospects, :only => ["create"] rake routes shows: prospects POST /prospects(.:format) {:controller=>"prospects", :action=>"create"} However when I try to post a form I get: Started POST "/