No commit activity in last 3 years
No release in over 3 years
Provides support for using Paranoia.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 3.2.0
>= 3.2.0
>= 3.0.4
~> 2.3
 Project Readme

Globalize Versioning

Introduction

globalize-paranoia provides an interface between globalize and paranoia

Installation

gem install globalize-paronoia

When 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: true

You 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.