fix #write_inheritable_attribute bug that crept in

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Rick Olson
2007-02-04 18:33:54 +00:00
parent 3340261515
commit 0a454cd73e

View File

@@ -94,7 +94,7 @@ class Class # :nodoc:
def write_inheritable_attribute(key, value)
if inheritable_attributes.equal?(EMPTY_INHERITABLE_ATTRIBUTES)
inheritable_attributes = {}
@inheritable_attributes = {}
end
inheritable_attributes[key] = value
end