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()
{
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"
>
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
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
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 "/
5 matches
Mail list logo