3 Jun 16:58
Re: ANNOUNCE: act_as_soft_deletable - new rails plugin for soft deleting / disabling ActiveRecord models
From: Clever Neologism <gestahl@...>
Subject: Re: ANNOUNCE: act_as_soft_deletable - new rails plugin for soft deleting / disabling ActiveRecord models
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-06-03 14:58:08 GMT
Subject: Re: ANNOUNCE: act_as_soft_deletable - new rails plugin for soft deleting / disabling ActiveRecord models
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-06-03 14:58:08 GMT
Sounds neat! On the archival angle, something I have been wishing for for a while now is an archival plugin/system that does the following: 1) Tiered time-based (or, really, on any column, I just can't think for a use for anything other than created/updated_at columns) backups. For example, move everything over 6 months old to another table, move everything over a year old to a secondary database. 2) Multiple data stores (multiple DBs, file stores, ???) for flexibility. 3) The ability to daemonize and run it external to the running web framework itself (like a cron job) so its transparent to the users of the system), and the ability to do on-demand archiving in-framework 4) Adds in archival find methods to AR objects marked as archivable, adds in individual archive/unarchive commands, etc. 5) Updating records in the archives should move them back to the main table automagically (this could be configurable) I have programmed multiple order processing systems, and every time I have yearned for such a thing. Unfortunately, I am really not good enough with the guts of RoR to pull this off :(. On Jun 2, 5:44 pm, "Walter McGinnis" <walter.mcgin...@...> wrote: > Great. Good to know. I plan to use it on a join model, actually. A > related links type thing. Will let you know. > Cheers, > Walter > > On Tue, Jun 3, 2008 at 5:42 AM, Shngn <hartfo...@...> wrote: > > > Walter, > > Yeah, I'm going to keep the name. I was considering acts_as_archivable > > but that's already taken by another plugin which does something > > completely different ;) > > > I'd love to hear any ideas or feedback you have once you start using > > it! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@... To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
RSS Feed