Commit ddef840b by Prem Sichanugrist

Merge pull request #474 from knapo/master

Remove Rails 3.1 `read_inheritable_attribute` deprecation and add .rvmrc to gitignore.
parents 0216d4d7 07846ec4
......@@ -8,3 +8,4 @@ capybara*.html
*.rbc
.bundle
*SPIKE*
.rvmrc
......@@ -341,7 +341,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