<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -85,7 +85,7 @@ module ActiveRecord
         unless @owner.new_record?
           @owner.class.update_all([&quot;#{cache_column} = ?&quot;, value], [&quot;id = ?&quot;, @owner.id])
         end
-        @owner.send(:write_attribute, cache_column, value)
+        @owner.send(:write_attribute, cache_column, value) unless @owner.frozen?
       end
       
       def typecast_result(result)</diff>
      <filename>lib/cached_values/cached_value.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9983606dee88432361c44b5cfea73ecaf6a62255</id>
    </parent>
  </parents>
  <author>
    <name>Jack Danger Canty</name>
    <email>git@6brand.com</email>
  </author>
  <url>http://github.com/JackDanger/cached_values/commit/c1544c5228fb8c690b3eb6e0e002d18640965ba4</url>
  <id>c1544c5228fb8c690b3eb6e0e002d18640965ba4</id>
  <committed-date>2008-03-12T20:31:33-07:00</committed-date>
  <authored-date>2008-03-12T20:31:33-07:00</authored-date>
  <message>not trying to write to a frozen attribute hash</message>
  <tree>5d54e71b217da9d97479a5ebfef6258912355681</tree>
  <committer>
    <name>Jack Danger Canty</name>
    <email>git@6brand.com</email>
  </committer>
</commit>
