【发布时间】:2013-07-30 02:21:00
【问题描述】:
应用程序和迁移在本地运行良好,但 rake db:migrate 在服务器上失败并出现以下错误:
undefined method `new' for ExceptionNotifier:Module
我尝试运行的唯一迁移在本地通过,如下所示:
def change
change_table :users do |t|
t.remove :admin
end
change_column :users, :state, :string, :default => "client"
end
不知道是什么原因造成的。是的,我正在使用exception notification gem。有什么想法吗?谢谢!
【问题讨论】:
标签: ruby-on-rails ruby-on-rails-3 rails-migrations exception-notification