Storing old previous year data in Rails?

Posted by Millisami on Stack Overflow See other posts from Stack Overflow or by Millisami
Published on 2010-04-18T07:34:33Z Indexed on 2010/04/18 7:43 UTC
Read the original article Hit count: 388

Filed under:
|

Hi, I'm developing an app which has massive data entries. Its like Campaign which has attrs like rate_per_sq_feet, start_date, end_date. i.e it will have max date of around 30 days.

Once the campaign is finished, its done and another starts. Now I'm confused that how to store those campaigns as reports so that its not accessed regurlarly. What I mean is to store in such a way that it will act like report on later years to come?

Its something like fiscal year on accounts where the previous year reports are stored with all the calculations done so that when retrieved later, all the algorithms and calculations shouldn't be performed. Something like frozen data??

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about activerecord