Ruby on rails 未定义的方法是否有\u键?对于false:FalseClass(NoMethodError)

Ruby on rails 未定义的方法是否有\u键?对于false:FalseClass(NoMethodError),ruby-on-rails,sharding,Ruby On Rails,Sharding,我正在尝试使用八达通宝石数据库切分。我跟着维基 如果您需要使用动态碎片 碎片配置保存在 数据库中,可以创建初始值设定项 包含如下示例所示的内容: 当我尝试启动应用程序时,我遇到了这个错误。我使用的是rails 3.0.9 C:/Ruby192/lib/ruby/gems/1.9.1/gems/ar-octopus-0.3.4/lib/octopus/proxy.rb:16:in `initialize_shards': undefined method `has_key?' f or false

我正在尝试使用八达通宝石数据库切分。我跟着维基

如果您需要使用动态碎片 碎片配置保存在 数据库中,可以创建初始值设定项 包含如下示例所示的内容:

当我尝试启动应用程序时,我遇到了这个错误。我使用的是rails 3.0.9

C:/Ruby192/lib/ruby/gems/1.9.1/gems/ar-octopus-0.3.4/lib/octopus/proxy.rb:16:in `initialize_shards': undefined method `has_key?' f or false:FalseClass (NoMethodError)
任何帮助都将不胜感激

C:/Ruby192/lib/ruby/gems/1.9.1/gems/ar-octopus-0.3.4/lib/octopus/proxy.rb:16:in `initialize_shards': undefined method `has_key?' f or false:FalseClass (NoMethodError)