Commit d01d58c2 by JR Boyens Committed by Jon Yurek

Fix for an improper modification during iteration

parent 83d8ec5a
......@@ -167,7 +167,7 @@ module Paperclip
styles = styles.call(self) if styles.respond_to?(:call)
@normalized_styles = styles.dup
@normalized_styles.each_pair do |name, options|
styles.each_pair do |name, options|
@normalized_styles[name.to_sym] = Paperclip::Style.new(name.to_sym, options.dup, self)
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment