I have the same problem. 

Any ideas ? 


On Wednesday, May 16, 2012 12:53:58 AM UTC+2, Ruby-Forum.com User wrote:
>
> In routes.rb I have this: 
>
> resources :presentations do 
>     post "save_stuff", :on => :member 
> end 
>
> In PresentationsController I have this: 
>
> def save_stuff 
>     ... 
> end 
>
> And in my form I have this: 
>
> <%= form_for @presentation, :url => {:action => "save_stuff"}, :html => 
> {:id => "presentationForm", :method => :post} do |f| %> 
>
> Yet when an attempt is made to render the above form I get this: 
>
> !! Unexpected error while processing request: No route matches 
> {:action=>"save_stuff", :controller=>"presentations"} 
>
> I have been struggling with this for hours, so I could use some help. 
>
> Thanks. 
>
> -- 
> 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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/fb4dae47-4718-4eda-a7e2-35856ef40a03%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to