ok, rails 3 new developer here.
I want my jquery to be able to get a json object from the rails 3 application for projects. Here is my controller.
def yo
You can set the Accept: application/json header for real REST, or you can add the format to the URL for quick hackery:
Accept: application/json
$.ajax({url: '/projects/yourprojects.json', dataType: 'json'});