Re: [Rails] Re: Re: Forcing link_to 'put'

2010-04-17 Thread Vladimir Rybas
btw, found not much time ago, that you need to do :conditions => {:method => :put} instead of just :method => :put in routes.rb when define a route ' On Sat, Apr 17, 2010 at 4:01 PM, Colin Law wrote: > On 17 April 2010 09:29, Heinz Strunk wrote: > > Colin Law wrote: > >> > >> Have you checked

Re: [Rails] Re: Re: Forcing link_to 'put'

2010-04-17 Thread Colin Law
On 17 April 2010 09:29, Heinz Strunk wrote: > Colin Law wrote: >> >> Have you checked the html generated by the link, and looked in the log >> to see if anything useful there? >> >> Colin > > Yeah, what's the output of > <%= link_to 'Recalculate', item_cost_path(:recalc => 1), :method > => :put %>

[Rails] Re: Re: Forcing link_to 'put'

2010-04-17 Thread Heinz Strunk
Colin Law wrote: > > Have you checked the html generated by the link, and looked in the log > to see if anything useful there? > > Colin Yeah, what's the output of <%= link_to 'Recalculate', item_cost_path(:recalc => 1), :method => :put %>? -- Posted via http://www.ruby-forum.com/. -- You rec