当我widget = Widget.create(name: 'Acme', price: 100)
我得到了
/.rvm/gems/ruby-1.9.3-p484/gems/gotime-cassandra_object-4.11.4/lib/cassandra_object/model.rb:20:in `config'
/.rvm/gems/ruby-1.9.3-p484/gems/gotime-cassandra_object-4.11.4/lib/cassandra_object/connection.rb:24:in `cql'
/.rvm/gems/ruby-1.9.3-p484/gems/gotime-cassandra_object-4.11.4/lib/cassandra_object/connection.rb:31:in `block in execute_cql'
有什么建议吗?
答案 0 :(得分:0)
问题是配置文件不在初始化文件夹下,一旦我把它放在那里工作。