<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>generators/db_backend/USAGE</filename>
    </added>
    <added>
      <filename>generators/db_backend/db_backend_generator.rb</filename>
    </added>
    <added>
      <filename>generators/db_backend/templates/migration.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -2,7 +2,7 @@ require 'rails_edge_load_path_patch.rb' unless I18n.respond_to?(:load_path)
 
 ActiveRecord::Base.send :include, Globalize::Model::ActiveRecord::Translated
 
-I18n.backend = Globalize::Backend::Static.new
+I18n.backend = Globalize::Backend::Db.new
 
 I18n.load_path = Globalize::LoadPath.new I18n.load_path
 I18n.load_path &lt;&lt; &quot;#{File.dirname(__FILE__)}/lib/locale&quot;</diff>
      <filename>init.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 class DbTranslation &lt; ActiveRecord::Base
-  set_table_name &quot;translations&quot;
+  set_table_name &quot;globalize_translations&quot;
   serialize :value
   belongs_to :locale, :class_name =&gt; &quot;DbTranslationLocale&quot;, :foreign_key =&gt; &quot;locale_id&quot;
   validates_presence_of :key
@@ -7,7 +7,7 @@ class DbTranslation &lt; ActiveRecord::Base
   validates_uniqueness_of :key, :scope =&gt; :locale_id
   
   after_save do |record|
-    record.locale.updated_at_will_change!
+    #record.locale.updated_at_will_change!
     record.locale.save(false)
   end
 end</diff>
      <filename>lib/globalize/backend/db/db_translation.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 class DbTranslationLocale &lt; ActiveRecord::Base
-  set_table_name &quot;translation_locales&quot;
+  set_table_name &quot;globalize_translation_locales&quot;
   acts_as_tree
-  belongs_to :creator, :class_name =&gt; &quot;User&quot;, :foreign_key =&gt; &quot;user_id&quot;
+  #belongs_to :creator, :class_name =&gt; &quot;User&quot;, :foreign_key =&gt; &quot;user_id&quot;
   has_many :translations, :class_name =&gt; &quot;DbTranslation&quot;, :foreign_key =&gt; &quot;locale_id&quot;, :dependent =&gt; :destroy
   
   validates_presence_of :locale</diff>
      <filename>lib/globalize/backend/db/db_translation_locale.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>generators/db_backend.rb</filename>
    </removed>
    <removed>
      <filename>generators/templates/db_backend_migration.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>b6a2a0d0b4653f33d1d6f62e019015976da75cf3</id>
    </parent>
  </parents>
  <author>
    <name>hchoroomi</name>
    <email>hchoroomi@gmail.com</email>
  </author>
  <url>http://github.com/hchoroomi/globalize2/commit/24d07124de6ecc1d1332a0b896e1fbb2b2aea8f8</url>
  <id>24d07124de6ecc1d1332a0b896e1fbb2b2aea8f8</id>
  <committed-date>2009-01-07T07:54:30-08:00</committed-date>
  <authored-date>2009-01-07T07:54:30-08:00</authored-date>
  <message>Fixed the migration generator</message>
  <tree>b05c1960fe31d70de9ba82bffd189516f8e01643</tree>
  <committer>
    <name>hchoroomi</name>
    <email>hchoroomi@gmail.com</email>
  </committer>
</commit>
