Fix 293, 601: STI subclassing overwrites options
Problem: When using STI, and when 'config.cache_classes = true', then the STI subclass that gets loaded last will overwrite the options for the others. This is due to using Rails class_attribute with a mutable hash. Solution: dup the hash.
Showing
Please
register
or
sign in
to comment