Rails newbie, thanks for the help in this, I hope, a basic question like JSON ....
I have a model of books in my application that belong to users.
What I would like to know how to do is to use jQuery to get a JSON object from books owned by the user. And then use jQuery to output the results to a div (id = targetdiv).
Where am I not sure, is this something that Rails 3 does out of the box? Because I see the .js answer, but I think JSON is what jQuery needs, right?
Thanks for helping me find out!
source share