I created a simple application in Rails for storing the names of cars:
script/generate scaffold car name:string
I'm looking to create an application which will connect to this using REST and AJAX to create new car names. However, I want this application to be separate from the application which I created in Rails to actually hold the car names, and I don't want to write it in Rails. I just want to create it using plan old HTML and Javascript. How would I write the Javascript code for this?