Globalize Versioning
Introduction
globalize-paranoia provides an interface between globalize and paranoia
Installation
gem install globalize-paronoiaWhen using bundler, add this line to your Gemfile:
gem 'globalize-paranoia'Usage
To add soft deletion support to your model, just add the :paranoia option to your
call to translates with the boolean value true.
For example:
translates :title, :content, :published, :published_at, paranoia: trueYou will also need to have already generated the deleted_at column that paranoia
expects. See the paranoia README for more details.
Other gotchas
Please see the tests in test/globalize-paranoia/ for more details.
License
See LICENSE for details.