underfined method for has_attched_file when installing paperclip
解決
create the file paperclip.rb inside the config/initializers/paperclip.rb
Add the below lines and restart the server
require "paperclip/railtie"
Paperclip::Railtie.insert
2 NoMethodError: undefined method `devise' for User (call 'User.connection' to establish a connection):Class
解決
extend Devise::Models
3 deploy error: ExecJS::ProgramError: SyntaxError: Unexpected token: name (autoRegisterNamespace)
解決
使用 var 替換js檔案中的let