Commit 9e2a8637 by knapo

Replace depracated read_inheritable_attribute with inheritable_attributes[]

parent 93753d5c
......@@ -349,7 +349,7 @@ module Paperclip
# Returns the attachment definitions defined by each call to
# has_attached_file.
def attachment_definitions
read_inheritable_attribute(:attachment_definitions)
inheritable_attributes[:attachment_definitions]
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