Elias Orozco wrote: > Hi Scott, > > Try :put instead of :post on the :member param, like this: > > map.resources :compounds, :collection => { :calculator > => :get }, :member => { :confirm => :put }
Elias, i tried put but got this error back: Only put requests are allowed. robert, i think the toggle should toggle the value from 1->0 or 0->1 but i can't even get it to toggle from 0->1 at the moment. -- 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 to rubyonrails-talk@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---