lundi 10 août 2015

How to add JSON file export functionality in Rails 4.2

So i am interested in writing a method that when i click an export button, certain data from the db at exported to JSON data.

How can i do that?

The procedure is this

get data from db -> convert to json -> write to file -> save file to computer.

thanks

Aucun commentaire:

Enregistrer un commentaire