Skip to content

Instantly share code, notes, and snippets.

@randysecrist
Created October 17, 2012 17:32
Show Gist options
  • Save randysecrist/3906910 to your computer and use it in GitHub Desktop.
Save randysecrist/3906910 to your computer and use it in GitHub Desktop.
siblings & ripple
1) Error:
test_counter_operations(TestExample):
NoMethodError: undefined method `key' for #<Riak::RContent:0x007fde03b79420>
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/ripple-c68106a8a431/lib/ripple/document/finders.rb:121:in `block in instantiate'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/ripple-c68106a8a431/lib/ripple/document/finders.rb:120:in `tap'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/ripple-c68106a8a431/lib/ripple/document/finders.rb:120:in `instantiate'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/ripple-c68106a8a431/lib/ripple/attribute_methods/dirty.rb:13:in `instantiate'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/ripple-c68106a8a431/lib/ripple/conflict/resolver.rb:53:in `document'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/ripple-c68106a8a431/lib/ripple/conflict/basic_resolver.rb:4:in `document'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/ripple-c68106a8a431/lib/ripple/conflict/basic_resolver.rb:37:in `block in process_properties'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/ripple-c68106a8a431/lib/ripple/conflict/basic_resolver.rb:36:in `each'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/ripple-c68106a8a431/lib/ripple/conflict/basic_resolver.rb:36:in `process_properties'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/ripple-c68106a8a431/lib/ripple/conflict/basic_resolver.rb:23:in `perform'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/ripple-c68106a8a431/lib/ripple/conflict/resolver.rb:32:in `resolve'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/ripple-c68106a8a431/lib/ripple/conflict/resolver.rb:18:in `block in to_proc'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/riak-ruby-client-7580e13d37ca/lib/riak/robject.rb:73:in `call'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/riak-ruby-client-7580e13d37ca/lib/riak/robject.rb:73:in `block in attempt_conflict_resolution'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/riak-ruby-client-7580e13d37ca/lib/riak/robject.rb:72:in `each'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/riak-ruby-client-7580e13d37ca/lib/riak/robject.rb:72:in `attempt_conflict_resolution'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/riak-ruby-client-7580e13d37ca/lib/riak/client/http_backend/object_methods.rb:64:in `load_object'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/riak-ruby-client-7580e13d37ca/lib/riak/client/http_backend.rb:70:in `fetch_object'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/riak-ruby-client-7580e13d37ca/lib/riak/client.rb:280:in `block in get_object'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/riak-ruby-client-7580e13d37ca/lib/riak/client.rb:435:in `block in recover_from'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/riak-ruby-client-7580e13d37ca/lib/riak/client.rb:433:in `recover_from'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/riak-ruby-client-7580e13d37ca/lib/riak/client.rb:286:in `http'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/riak-ruby-client-7580e13d37ca/lib/riak/client.rb:131:in `backend'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/riak-ruby-client-7580e13d37ca/lib/riak/client.rb:279:in `get_object'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/riak-ruby-client-7580e13d37ca/lib/riak/bucket.rb:88:in `get'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/ripple-c68106a8a431/lib/ripple/document/finders.rb:113:in `find_one'
/Users/randy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/ripple-c68106a8a431/lib/ripple/document/finders.rb:55:in `find'
test/test_example.rb:32:in `test_counter_operations'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment