Create a Rails application to manage database and retrieve info for JavaScript client