Rails.root returns a Pathname and you can now declare your attachment without having to call #to_s first: has_attached_file :avatar, :storage => :s3, :s3_credentials => Rails.root.join('s3.yml') (cherry picked from commit 65d7600)
… use ~> instead of hard versions.
These callbacks are different from pre-rails 3. They do NOT cancel the after_ if the before_ returns false. They will cancell inner callbacks, however, but that's it. This is a change in functionality.
…ype is not found in the default cases. (cherry picked from commit 2ca52df)
…l and to allow per-style processor lists
(cherry picked from commit 61dbcb3)
…e Tempfiles did not have the right extension.