Created
June 21, 2015 09:37
-
-
Save vu2/741095d608c253f6f0f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class User < ActiveRecord::Base | |
mount_uploader :icon, ImageUploader | |
skip_callback :save, :after, :remove_previously_stored_icon | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment