Forum: Ruby on Rails Various Database Snapshots (versions)

2faa01a731d4086fec39376076936444?d=identicon&s=25 Surendra S. (surendra_s)
on 2014-05-30 07:07
I have a rails application for a research group and the data just grows.
One requested feature in the application is to provide a way to track
the changes made in the data. I have used PaperTrail for this and is
quite efficient for just tracking the changes.

The problem I am in is that there needs to be a way to download the data
at a particular instance and share this URL so that other researchers
can view at the exact same data. I am completely lost at how to achieve
this functionality. Additionally, the models have some associations
between them.
For eg:
Models: Coral, Observation, Measurement, Location
They have a number of associations like many-to-many, one-to-many etc.

Questions
1. How can I version the database so that there can be a URL which
points to the exact data during that version ?
2. Should I create an API for that ?

Please help me :)

Regards
Suren
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.