Rake db migrate无法使用错误的参数数量(0表示1)

时间:2014-11-30 04:40:06

标签: ruby-on-rails ruby

== 20141026165438 CreateUsers: migrating ======================================
-- create_table(:users)
   -> 0.0320s
== 20141026165438 CreateUsers: migrated (0.0340s) =============================

rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

wrong number of arguments(1 for 0)C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.2.0.beta2/lib/active_record/connection_adapters/abstract_adapter.rb:271:in `initialize'

捆绑安装工作正常,但每当我尝试时 bundle exec rake db:migrate但是我收到一条错误,该错误会追溯到我的安装程序的活动记录。

有人可以帮忙吗?

0 个答案:

没有答案