Skip to content

Instantly share code, notes, and snippets.

@lamp
Created August 16, 2010 12:40
Show Gist options
  • Save lamp/526880 to your computer and use it in GitHub Desktop.
Save lamp/526880 to your computer and use it in GitHub Desktop.
merb : worker (port 5555) ~ In repository block default
merb : worker (port 5555) ~ Started request handling: Mon Aug 16 13:38:54 +0100 2010
merb : worker (port 5555) ~ Routed to: {"oauth_nonce"=>"224", "format"=>nil, "action"=>"index", "campaign"=>{"order"=>"updated_at.desc", "name.like"=>"%Hello%", "page"=>"1", "limit"=>"15", "insert_domain"=>"com.videojuicer.asset"}, "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1281962334", "seed_name"=>"development", "user_id"=>"1", "controller"=>"campaigns", "oauth_consumer_key"=>"test_consumer_key", "oauth_token"=>"vQohJr3cUlxVSSj8Fc6ScdlR6EOKQy", "oauth_signature"=>"z7vvWc/xKn6TmtDtR6HKMhWIDSY=", "api_version"=>"1"}
merb : worker (port 5555) ~ Params: {"oauth_nonce"=>"224", "format"=>nil, "action"=>"index", "campaign"=>{"order"=>"updated_at.desc", "name.like"=>"%Hello%", "page"=>"1", "limit"=>"15", "insert_domain"=>"com.videojuicer.asset"}, "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1281962334", "seed_name"=>"development", "user_id"=>"1", "controller"=>"campaigns", "oauth_consumer_key"=>"test_consumer_key", "oauth_token"=>"vQohJr3cUlxVSSj8Fc6ScdlR6EOKQy", "oauth_signature"=>"z7vvWc/xKn6TmtDtR6HKMhWIDSY=", "api_version"=>"1"}
~ (0.000008) SELECT `id`, `name`, `provider_name`, `provider_url`, `google_analytics_id` FROM `seeds` WHERE `name` = 'development' ORDER BY `id` LIMIT 1
{:"name.like"=>"%Hello%", :offset=>0, :order=>[#<DataMapper::Query::Operator @target=:updated_at @operator=:desc>], :limit=>15, :insert_domain=>"com.videojuicer.asset"}
merb : worker (port 5555) ~ is an invalid instance: NilClass - (ArgumentError)
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/query.rb:1170:in `append_condition'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/query.rb:1238:in `append_string_condition'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/query.rb:1166:in `append_condition'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/query.rb:1232:in `append_string_condition'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/query.rb:1166:in `append_condition'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/query.rb:1218:in `append_symbol_condition'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/query.rb:1165:in `append_condition'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/query.rb:1017:in `merge_conditions'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/query.rb:1017:in `each'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/query.rb:1017:in `merge_conditions'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/query.rb:1011:in `each'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/query.rb:1011:in `merge_conditions'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/query.rb:371:in `update'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/query.rb:387:in `merge'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/model.rb:679:in `scoped_query'
./lib/datamapper_ext/filterable.rb:84:in `filtered'
/work/videojuicer/vj-core/app/controllers/campaigns.rb:9:in `index'
/opt/local/lib/ruby/gems/1.8/gems/merb-action-args-1.1.3/lib/merb-action-args/abstract_controller.rb:42:in `__send__'
/opt/local/lib/ruby/gems/1.8/gems/merb-action-args-1.1.3/lib/merb-action-args/abstract_controller.rb:42:in `_call_action'
/work/videojuicer/vj-core/app/controllers/application.rb:10:in `_call_action'
/work/videojuicer/vj-core/app/models/seed.rb:108:in `call'
/work/videojuicer/vj-core/app/models/seed.rb:108:in `inside'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core.rb:208:in `repository'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/repository.rb:111:in `scope'
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core.rb:208:in `repository'
/work/videojuicer/vj-core/app/models/seed.rb:108:in `inside'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment