Skip to content

Commit

Permalink
Replace depracated read_inheritable_attribute with inheritable_attrib…
Browse files Browse the repository at this point in the history
…utes[]
  • Loading branch information
knapo committed May 11, 2011
1 parent 93753d5 commit 9e2a863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/paperclip.rb
Expand Up @@ -349,7 +349,7 @@ def validates_attachment_content_type name, options = {}
# 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

Expand Down

0 comments on commit 9e2a863

Please sign in to comment.