Jeevan Dongre
Jeevan Dongre

Reputation: 4647

ruby on rails app and google app scripts

I have a app which runs on ruby on rails and mysql database. I need to generate couple of reports. Presently I am generating csv file but my Idea is to integrate with the google docs, as soon as a user opens a particular doc automatically it has to sync with the my rails app and fetch the data from the database and display in the google docs.

I need little heads up.I have gone through the docs, but couldn't figure out the way of doing it.

Thanks

Upvotes: 0

Views: 862

Answers (2)

Zig Mandel
Zig Mandel

Reputation: 19834

You will need to write an onOpen in your gdoc. From there call urlfetch to your app.

Upvotes: 0

Sean
Sean

Reputation: 2891

Check out the to_google_spreadsheets gem. It is well documented and seems to have all the functionality you are looking for.

Cheers, Sean

Upvotes: 1

Related Questions