paperclip.rb
20.5 KB
-
Fix 293, 601: STI subclassing overwrites options · 2c6b7cb0
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.
ramn committed