Commit 800f383a by Nick Quaranto

Mapping instance_methods to strings since 1.9 returns symbols

parent 8a40d68c
......@@ -30,7 +30,7 @@ module Paperclip
protected
def responds?
methods = @subject.instance_methods
methods = @subject.instance_methods.map(&:to_s)
methods.include?("#{@attachment_name}") &&
methods.include?("#{@attachment_name}=") &&
methods.include?("#{@attachment_name}?")
......
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