<?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>10b4c02a5ca204eb48085b7843c36832283f5d08</id>
    </parent>
  </parents>
  <author>
    <name>iain</name>
    <email>github@iain.nl</email>
  </author>
  <url>http://github.com/iain/translatable_columns/commit/5367e6c5e80296493370f2f511c7ec5b8bd8622f</url>
  <id>5367e6c5e80296493370f2f511c7ec5b8bd8622f</id>
  <committed-date>2008-12-10T09:58:31-08:00</committed-date>
  <authored-date>2008-12-10T09:58:31-08:00</authored-date>
  <message>Quick and dirty fix for issues with saving the locale as symbol, instead of string (which is the new Rails default)</message>
  <tree>5db35141997c34b5e83a7024f30f9fe2193a6fcf</tree>
  <committer>
    <name>iain</name>
    <email>github@iain.nl</email>
  </committer>
</commit>
