In my Rails 3 application, I would like to export static JSON data to an Amazon S3 bucket, which can then be retrieved and parsed using an AJAX call from the specified application.
JSON will be created from the application database.
My design requirements will probably require something like a rake task to initiate export to S3. Each time the rake task runs, it overwrites the files. Preferably, the file name will correspond to the identification number of the record from which the JSON data is generated.
Does anyone have any experience with this and can point me in the right direction?
source share