Validates presence in Rails with Globalize not working
<p>I'm working on a rails project with globalize, where I've a model called <strong>Product</strong> like this:</p>

<pre><code>class Product &lt; ActiveRecord::Base

  translates :name, :description

  validates :name, presence: true

end
</code></pre>

<p>The problem is that the validates is not working for the update on other locales, it's working on the first create method, but whenever I want to update the object with another locale, it doesn't check for the presence of name. Example below:</p>

<pre><code>Product.create!
   (0.3ms)  BEGIN
   (0.2ms)  ROLLBACK
ActiveRecord::RecordInvalid: Validation failed: Name can't be blank
</code></pre>

<p>Once a Product is created and has en translations, when trying to update for another locale, the validators aren't checked, example:</p>

<pre><code>irb(main):009:0&gt; p.update_attributes(name: "", locale: :es)
   (0.2ms)  BEGIN
   (0.1ms)  COMMIT
=&gt; true
</code></pre>

<p>Any thoughts on how this can be acheived?</p>