Commit ec2c48b8 by Jon Yurek

Stringify the symbol for non-1.9.2

parent 7f523e35
......@@ -54,7 +54,7 @@ module Paperclip
end
def method_missing(method, *args, &blk)
if method[-1] == "="
if method.to_s[-1] == "="
instance_variable_set("@#{method[0..-2]}", args[0])
else
instance_variable_get("@#{method}")
......
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