mirror of
https://github.com/github/rails.git
synced 2026-02-01 01:34:57 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user