<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,6 +7,8 @@ module ActiveRecord
       # converted to 'Num employees' normally using &lt;tt&gt;human_attribute_name&lt;/tt&gt;.  More descriptive text can be set. Example:
       #   attr_human_name 'num_employees' =&gt; 'Number of employees'
       def attr_human_name(attributes) # :nodoc:
+        return unless table_exists?
+
         attributes.stringify_keys!
         write_inheritable_hash(&quot;attr_human_name&quot;, attributes || {})
 </diff>
      <filename>lib/human_attribute_override.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d82324ecc872b2d7db3226429f011b029bb386c6</id>
    </parent>
  </parents>
  <author>
    <name>Andrew Kaspick</name>
    <email>andrew@redlinesoftware.com</email>
  </author>
  <url>http://github.com/redlinesoftware/human_attribute_override/commit/5c1a3e6988a9bb54e73b1c6660611f6d5a8099d8</url>
  <id>5c1a3e6988a9bb54e73b1c6660611f6d5a8099d8</id>
  <committed-date>2008-07-28T11:28:12-07:00</committed-date>
  <authored-date>2008-07-28T11:28:12-07:00</authored-date>
  <message>bug fix... check that the table exists otherwise errors can occur when creating a new database</message>
  <tree>fa2548110f30ecdf0fe6ecbba34491aa74411556</tree>
  <committer>
    <name>Andrew Kaspick</name>
    <email>andrew@redlinesoftware.com</email>
  </committer>
</commit>
