<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -40,7 +40,7 @@ module LiveValidations
 
       # Returns either the :message specified, or the default I18n error message.
       def message_for(attribute, key,options={})
-        handwritten_message_for(attribute) || I18n.translate(key, {:scope =&gt; 'activerecord.errors.messages'}.merge(options))
+        handwritten_message_for(attribute) || ActiveRecord::Error.new(adapter_instance.active_record_instance, attribute, key).message
       end
       
       def handwritten_message_for(attribute)</diff>
      <filename>lib/live_validations/adapter_base/validation_hook.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e6904d149977c991898d416cfd7b5c29f4ada0ba</id>
    </parent>
  </parents>
  <author>
    <name>Hendy Tanata</name>
    <email>htanata@gmail.com</email>
  </author>
  <url>http://github.com/htanata/live-validations/commit/bdde2dff1831ae510193b36f757612fb0f95df70</url>
  <id>bdde2dff1831ae510193b36f757612fb0f95df70</id>
  <committed-date>2009-10-29T21:00:42-07:00</committed-date>
  <authored-date>2009-10-29T21:00:09-07:00</authored-date>
  <message>Get validation message using AR::Error method.</message>
  <tree>c24b0dcfa98483a154079d2dda8a3a68cfbd344a</tree>
  <committer>
    <name>Hendy Tanata</name>
    <email>htanata@gmail.com</email>
  </committer>
</commit>
