<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,6 @@
+class PostTranslation &lt; ActiveRecord::Base
+  def existing_method ; end
+end
 class Post &lt; ActiveRecord::Base
   translates :subject, :content
   validates_presence_of :subject</diff>
      <filename>test/data/models.rb</filename>
    </modified>
    <modified>
      <diff>@@ -472,6 +472,10 @@ class TranslatedTest &lt; ActiveSupport::TestCase
     Post.locale = :en
     assert_equal 'foo', post.subject_before_type_cast
   end
+  
+  test &quot;don't override existing translation model&quot; do
+    assert PostTranslation.new.respond_to?(:existing_method)
+  end
 end
 
 # TODO should validate_presence_of take fallbacks into account? maybe we need</diff>
      <filename>test/model/active_record/translated_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>52797c99d4499bb7c43e7430099553f9ba64f67a</id>
    </parent>
  </parents>
  <author>
    <name>Patrick Huesler</name>
    <email>patrick.huesler@gmail.com</email>
  </author>
  <url>http://github.com/joshmh/globalize2/commit/420b227d88673b9a50b64bbda3a5fae0f5c826bd</url>
  <id>420b227d88673b9a50b64bbda3a5fae0f5c826bd</id>
  <committed-date>2009-11-08T03:29:43-08:00</committed-date>
  <authored-date>2009-10-10T08:27:55-07:00</authored-date>
  <message>added unit test to reproduce error when rails config.cache_classes is
set to false. This is the case in development mode.

The problem occurs,when the proxy class (e.g TagTranslation) exists already
when gloablize wants to create it.</message>
  <tree>1fd6ce51cf860b5aaa71a26cdb7c057187b89d31</tree>
  <committer>
    <name>Sven Fuchs</name>
    <email>svenfuchs@artweb-design.de</email>
  </committer>
</commit>
