Skip to content

Instantly share code, notes, and snippets.

@t7y
Created March 17, 2011 19:16
Show Gist options
  • Save t7y/874945 to your computer and use it in GitHub Desktop.
Save t7y/874945 to your computer and use it in GitHub Desktop.
tm23-s00155:31555 on PAGE_VIEW at just now Retry
Arguments
"{\"permalink\":\"http://www.suite101.com/content/outdoor-living-local-garden-events-sponsored-by-proven-winners-a341537\",\"title\":\"Outdoor%20Living%20Local%20Garden%20Events%20Sponsored%20by%20Proven%20Winners\",\"suite101_article_id\":\"341537\",\"cookie_id\":\"B3C1FEF4-F263-8014-B61D523352991FF6\",\"date\":\"2011-03-17T19:03:40Z\",\"referrer_url\":\"http://www.suite101.com/content/outdoor-living-local-garden-events-sponsored-by-proven-winners-a341537\",\"writer_id\":\"612880\"}"
Exception
ActiveRecord::RecordInvalid
Error
Validation failed: Suite101 article has already been taken
/var/cache/engineyard/ruby/1.8/gems/activerecord-3.0.4/lib/active_record/validations.rb:49:in `save!'
/var/cache/engineyard/ruby/1.8/gems/activerecord-3.0.4/lib/active_record/attribute_methods/dirty.rb:30:in `save!'
/var/cache/engineyard/ruby/1.8/gems/activerecord-3.0.4/lib/active_record/transactions.rb:245:in `save!'
/var/cache/engineyard/ruby/1.8/gems/activerecord-3.0.4/lib/active_record/transactions.rb:292:in `with_transaction_returning_status'
/var/cache/engineyard/ruby/1.8/gems/activerecord-3.0.4/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
/var/cache/engineyard/ruby/1.8/gems/ar-octopus-0.3.4/lib/octopus/proxy.rb:129:in `transaction'
/var/cache/engineyard/ruby/1.8/gems/activerecord-3.0.4/lib/active_record/transactions.rb:207:in `transaction'
/var/cache/engineyard/ruby/1.8/gems/activerecord-3.0.4/lib/active_record/transactions.rb:290:in `with_transaction_returning_status'
/var/cache/engineyard/ruby/1.8/gems/activerecord-3.0.4/lib/active_record/transactions.rb:245:in `save!'
/var/cache/engineyard/ruby/1.8/gems/activerecord-3.0.4/lib/active_record/validations.rb:34:in `create!'
/data/suite101/releases/20110317184318/app/models/article.rb:36:in `find_and_update_title_or_create'
/data/suite101/releases/20110317184318/app/jobs/raw_page_view_job.rb:30:in `process_raw_page_view'
/data/suite101/releases/20110317184318/app/jobs/raw_page_view_job.rb:13:in `perform'
/data/suite101/releases/20110317184318/app/jobs/raw_page_view_job.rb:23:in `select_shard'
/var/cache/engineyard/ruby/1.8/gems/ar-octopus-0.3.4/lib/octopus/proxy.rb:97:in `run_queries_on_shard'
/var/cache/engineyard/ruby/1.8/gems/ar-octopus-0.3.4/lib/octopus.rb:57:in `using'
/data/suite101/releases/20110317184318/app/jobs/raw_page_view_job.rb:23:in `select_shard'
/data/suite101/releases/20110317184318/app/jobs/raw_page_view_job.rb:7:in `perform'
/var/cache/engineyard/ruby/1.8/gems/resque-1.13.0/lib/resque/job.rb:133:in `perform'
/var/cache/engineyard/ruby/1.8/gems/resque-1.13.0/lib/resque/worker.rb:162:in `perform'
/var/cache/engineyard/ruby/1.8/gems/resque-1.13.0/lib/resque/worker.rb:129:in `work'
/var/cache/engineyard/ruby/1.8/gems/resque-1.13.0/lib/resque/worker.rb:115:in `loop'
/var/cache/engineyard/ruby/1.8/gems/resque-1.13.0/lib/resque/worker.rb:115:in `work'
/var/cache/engineyard/ruby/1.8/gems/resque-1.13.0/lib/resque/tasks.rb:27
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/usr/lib64/ruby/1.8/monitor.rb:242:in `synchronize'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/var/cache/engineyard/ruby/1.8/gems/rake-0.8.7/bin/rake:31
/var/cache/engineyard/ruby/1.8/bin/rake:19:in `load'
/var/cache/engineyard/ruby/1.8/bin/rake:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment