No commit activity in last 3 years
No release in over 3 years
adds a uniqueness validator for globalize3 translated models
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
 Dependencies

Development

~> 0.5.1
~> 1.3
>= 0
~> 2.8.0

Runtime

~> 3.0
 Project Readme

globalize3-validations

Build Status

Rails 4

globalize >= 4.0.1 already provides uniqueness validation support for translated models via the regular UniquenessValidator. This makes this gem obsolete when using rails 4 - as such it has been discontinued (i.e. the version of the gem in the rails4 branch does absolutely nothing).

Compared to what this gem used to do, globalize just has one restriction (checked with globalize 4.0.2): Uniqueness validation is always scoped by locale. This is what you usually want. If not, you should submit an issue and/or pull request to globalize.

Rails 3

For rails 3.x, please see master branch (versions 0.1.x).