How do I use JSON with Sqlite on rails?
<p>I am trying to get data from my sqlite database on rails using JSON but I don't know how to. I already did all the scaffolding. what gems do you recommend and how do I used them with an exiting project from sqlite database.
I have a web application that has users and all the users that are created are stored in the sqlite database. I need to retrieve this information and show it on a page where it could look something similar to this.</p>

<p>[{
    "Manufacturer": "Toyota",
    "Sold": 1200,
    "Month": "2012-11"
}, {
    "Manufacturer": "Ford",
    "Sold": 1100,
    "Month": "2012-11"
}, {
    "Manufacturer": "BMW",
    "Sold": 900,
    "Month": "2012-11"
}, {
    "Manufacturer": "Benz",
    "Sold": 600,
    "Month": "2012-11"
}, {
    "Manufacturer": "GMC",
    "Sold": 500,
    "Month": "2012-11"
}, {
    "Manufacturer": "HUMMER",
    "Sold": 120,
    "Month": "2012-11"
}]</p>