<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -123,7 +123,7 @@ module TranslatableColumns
 
     # Returns the proper column name
     def column_locale(locale = I18n.locale)
-      translatable_columns_config.full_locale ? locale.sub('-','_').downcase : locale.split('-').first
+      translatable_columns_config.full_locale ? locale.to_s.sub('-','_').downcase : locale.to_s.split('-').first
     end
 
     # Validates presence of at least one of the localized columns.</diff>
      <filename>lib/translatable_columns.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2e98e44dfa75595cf5323baa38f19f0279f8e17e</id>
    </parent>
    <parent>
      <id>5367e6c5e80296493370f2f511c7ec5b8bd8622f</id>
    </parent>
  </parents>
  <author>
    <name>Michael Bumann</name>
    <email>michael@railslove.com</email>
  </author>
  <url>http://github.com/bumi/translatable_columns/commit/189ef6417962fde2cae51a9ae90cab674b8b8c97</url>
  <id>189ef6417962fde2cae51a9ae90cab674b8b8c97</id>
  <committed-date>2008-12-15T10:55:34-08:00</committed-date>
  <authored-date>2008-12-15T10:55:34-08:00</authored-date>
  <message>Merge branch 'master' of git://github.com/iain/translatable_columns

* 'master' of git://github.com/iain/translatable_columns:
  Quick and dirty fix for issues with saving the locale as symbol, instead of string (which is the new Rails default)</message>
  <tree>7a3d52d31588e892311c65566446f833737a2828</tree>
  <committer>
    <name>Michael Bumann</name>
    <email>michael@railslove.com</email>
  </committer>
</commit>
