title: How to use validations with mobility gem?
body: <p>I'm trying to add validations to my mobility-powered application and i'm confused a little.Earlier I've used code like this</p>
  <pre class="lang-rb prettyprint-override"><code>I18n.available_locales.each do |locale|
      validates :&quot;name_#{locale}&quot;, presence: true, uniqueness: {scope: :animal_type}
  end
  </code></pre>
  <p>And it worked fine. But in my last project it doesn't work at all. Any ideas how to perform validations? My config is below:</p>
  <pre class="lang-rb prettyprint-override"><code>Mobility.configure do
    plugins do
      backend :container
      active_record
      reader
      writer
      backend_reader
      query
      cache
      presence
      locale_accessors
    end
  end
  </code></pre>
  <p>UPD: I've identified my problem - it is because of <code>, uniqueness: {scope: :animal_type}</code>. Is it possible to use mobility with similar type of validations?</p>