The answer to seemingly broken rails behavior is usually "duh..I
should have realized that!"
My link_to syntax was fine. The HTTP put was successfully finding the
correct controller method, but that method was performing a redirect
that was failing (in a rather opaque way to me) because in this
p
On 17 April 2010 07:16, MarkB wrote:
> Unfortunately that does not work. Same error, as if link_to is
> ignoring the :method argument and defaulting to get/show.
Have you checked the html generated by the link, and looked in the log
to see if anything useful there?
Colin
>
>
> On Apr 15, 4:22
Unfortunately that does not work. Same error, as if link_to is
ignoring the :method argument and defaulting to get/show.
On Apr 15, 4:22 am, Heinz Strunk wrote:
> What happens if you remove ":action => :update"? Shouldn't be necessary
> cause put automatically calls the update method.
> --
> Po
What happens if you remove ":action => :update"? Shouldn't be necessary
cause put automatically calls the update method.
--
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, se
4 matches
Mail list logo