If this is a link_to_remote then its a little different. What is it that you want to happen when you click the link? If you are new to Rails I find it much easier to first get a normal link_to working then start adding ajax to the views.
On Aug 13, 9:24 am, Pete Moran <[email protected]> wrote: > heimdull wrote: > > if you edit something it should be a GET request and then POST it to > > the update action right? You are better off just removing the default > > routes and rolling your own... > > > like map.resources :venderlocations > > > Or is there something I'm missing here... > > Its a POST as I am using the remote_link_to method which seems to use a > POST, I'm a total newbie at this so not sure what map.resources does > (although i will now look it up) > -- > Posted viahttp://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 to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

