Skip to content

Protector and Globalize

Boris Staal edited this page Jan 27, 2014 · 2 revisions

Protector and Globalize

Globalize has some internal issues when used in conjuction with Protector due to the way it uses to create instances of localization sub-model. Basically you won't be able to save any restricted model – validations will always fail.

Use Protector::Globalize to make things work. Simply add the following to your Gemfile: gem 'protector-globalize'

Clone this wiki locally