Ruby on Rails Monday, March 2, 2015

On Mar 2, 2015, at 6:19 AM, Simioni Tanguy <lists@ruby-forum.com> wrote:
>
> hi everyone, i'm trying to make a post request with ajax in a js
> function.
>
> but here i am , 404 error , i really don't get why , help :3

Look in the logs, inspect your actual request, compare it to your routes. (In particular, you may have defined a route that only responds to GET, and now you're tying to POST to it.)


--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




--
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/899CC934-E4B8-44B4-9038-BF61BF581EF6%40elevated-dev.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment