Permalink
Browse files

fix #write_inheritable_attribute bug that crept in

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 3340261 commit 0a454cd73e9644b154d72b573bc58451010f0e1a @technoweenie technoweenie committed Feb 4, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb
@@ -94,7 +94,7 @@ def inheritable_attributes
def write_inheritable_attribute(key, value)
if inheritable_attributes.equal?(EMPTY_INHERITABLE_ATTRIBUTES)
- inheritable_attributes = {}
+ @inheritable_attributes = {}
end
inheritable_attributes[key] = value
end

0 comments on commit 0a454cd

Please sign in to comment.