30 May 00:48
Re: ANNOUNCE: act_as_soft_deletable - new rails plugin for soft deleting / disabling ActiveRecord models
From: Shngn <hartforda@...>
Subject: Re: ANNOUNCE: act_as_soft_deletable - new rails plugin for soft deleting / disabling ActiveRecord models
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-05-29 22:48: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-05-29 22:48:08 GMT
Danimal, I added some of the features you suggested. I added a find method like ActiveRecord#find that will return deleted records as well, it's called find_with_deleted. I also added support for dynamic finders like find_all_with_deleted_by_name_and_date(name, date). I added a warning to the update_column migration method that warns when columns are deleted. The warning can be disabled. I'm still looking into automatically syncing the tables when the live table changes. Andy --~--~---------~--~----~------------~-------~--~----~ 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