Cast env to symbol, fixes deprecation warning
Warning: DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:development) instead.
Showing
想要评论请 注册 或 登录