nobosh
unread,Sep 26, 2010, 11:19:50 AM9/26/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
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!