require 'securerandom' require 'digest/md5' require 'nifty/attachments/version' require 'nifty/attachments/railtie' if defined?(Rails)