Rails 3 basic Get JSON with jQuery and output on the page flow question

Rails newbie, thanks for help with this hopefully basic JSON type

question….

I have a model Books in my app, which belong_to users.

What’d I’d like to learn how to do, is use jQuery to get a JSON object
of the books that the user owns (current_user). And then use jQuery to
list the results out on a div (id=targetdiv).

Where I’m not certain, is this something Rails 3 does out of the box?
Because I see the respond .js, but I think JSON is what is needed by
jQuery, right?

Thanks for helping me learn this!

Read more here: Source link