Thursday, August 15, 2013

Re: [Rails] ruby on rails return json to ajax

On Tue, Aug 13, 2013 at 11:53 PM, fang <gongsunxy@gmail.com> wrote:

but the ajax function won`t work.

SMH. What does that mean? What's in your log? in your JavaScript 
console?

And why are you POSTing a request to a method that typically would
be accessed via GET, as in your browser (which apparently works)?
 
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
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/CACmC4yCdMzaWRB1M9xoAN116GojeaDEKa%3DVt7tfJD6%3D8w0Kgaw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate