Started PATCH "/assets/1" for ::1 at 2015-05-02 15:32:49 -0400
The browser shows plain text:
Method Not Allowed
and nothing else. It never hits ActiveRecord or even ActionController, as best I can see.
I can go back and reload and see the form page (and that is nothing remarkable -- I made it with the scaffold). I can view the index and use #create to make another such, but if I try to edit it, I get the error.
Walter
On May 3, 2015, at 3:47 AM, Colin Law <clanlaw@gmail.com> wrote:
> On 2 May 2015 at 20:50, Walter Lee Davis <waltd@wdstudio.com> wrote:
>> I am working in a simple test application with Paperclip, and while I am able to upload in a #create, I am getting 405 errors from Webrick and Thin (in development) when trying to use the #update method.
>>
>> I don't even get to the point in my console where I see the params -- it's happening before that. It's not a Rails error message, it's coming directly from the server.
>
> Assuming you run webrick in a terminal, what do you see in that
> terminal when you submit the request?
>
> Colin
>
> --
> 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 rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuTXfu61u%2B1RYZ9buJUEj8ShpGS4JWn9DRgAY3FcjJ7jg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CFB08FBC-15FC-4FAA-BD9C-D741F9C63E85%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment