I have a rails app using postgres and hosting on heroku.
I ‘m trying to find a way to make a button on the webpage, which can export the database to an excel file.
Does anyone has done that before? Any suggestion is appreciated.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
export data from pgsql to a csv
use apache poi to read from csv and create excel
visit here for more info on poi with ruby