Skip to content

Instantly share code, notes, and snippets.

@cgat
Created March 10, 2013 05:53
Show Gist options
  • Save cgat/5127301 to your computer and use it in GitHub Desktop.
Save cgat/5127301 to your computer and use it in GitHub Desktop.
Support::Backends::ClassMethods.enqueue_for_backend(worker#Class, class_name#String,...)
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/carrierwave_backgrounder-0.2.0/lib/backgrounder/support/backends.rb:19
#1 #<Module:0x00000102fab7e0>.enqueue_image_background_job
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/carrierwave_backgrounder-0.2.0/lib/backgrounder/orm/base.rb:107
#2 CaptureImage._run__2609034636892101181__commit__2962896698304487768__callbacks
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:409
#3 ActiveSupport::Callbacks::ClassMethods.__run_callback(key#NilClass, kind#Symbol,...)
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405
#4 ActiveRecord::Base._run_commit_callbacks
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385
#5 ActiveSupport::Callbacks.run_callbacks(kind#Symbol)
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81
#6 ActiveRecord::Transactions.committed!
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:281
#7 ActiveRecord::ConnectionAdapters::DatabaseStatements.commit_transaction_records
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/database_statements.rb:372
#8 ActiveRecord::ConnectionAdapters::DatabaseStatements.preserving_current_transaction_records
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/test_after_commit-0.0.1/lib/test_after_commit.rb:54
#9 ActiveRecord::ConnectionAdapters::DatabaseStatements.commit_transaction_records_with_transactional_fixtures
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/test_after_commit-0.0.1/lib/test_after_commit.rb:52
#10 ActiveRecord::ConnectionAdapters::DatabaseStatements.transaction_with_transactional_fixtures
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/test_after_commit-0.0.1/lib/test_after_commit.rb:32
#11 ActiveRecord::Transactions::ClassMethods.transaction
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:208
#12 ActiveRecord::Transactions.with_transaction_returning_status
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:311
#13 ActiveRecord::Transactions.rollback_active_record_state!
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:259
#14 ActiveRecord::Transactions.save
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:258
#15 ActiveRecord::Persistence::ClassMethods.create
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/persistence.rb:45
#16 Capture.set_camera_id
at line /Users/chrisgat/projects/meat/app/models/capture.rb:152
#17 Capture._run__71763440347274259__save__2962896698304487768__callbacks
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:407
#18 ActiveSupport::Callbacks::ClassMethods.__run_callback(key#NilClass, kind#Symbol,...)
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405
#19 ActiveRecord::Base._run_save_callbacks
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385
#20 ActiveSupport::Callbacks.run_callbacks(kind#Symbol)
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81
#21 ActiveRecord::Callbacks.create_or_update
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/callbacks.rb:264
#22 ActiveRecord::Persistence.save
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/persistence.rb:84
#23 ActiveRecord::Validations.save
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/validations.rb:50
#24 ActiveRecord::AttributeMethods::Dirty.save
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/attribute_methods/dirty.rb:22
#25 ActiveRecord::ConnectionAdapters::DatabaseStatements.transaction
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/database_statements.rb:259
#26 ActiveRecord::ConnectionAdapters::DatabaseStatements.transaction_with_transactional_fixtures
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/test_after_commit-0.0.1/lib/test_after_commit.rb:23
#27 ActiveRecord::Transactions::ClassMethods.transaction
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:208
#28 ActiveRecord::Transactions.with_transaction_returning_status
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:311
#29 ActiveRecord::Transactions.rollback_active_record_state!
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:259
#30 ActiveRecord::Transactions.save
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:258
#31 ActiveRecord::ConnectionAdapters::DatabaseStatements.transaction
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/database_statements.rb:217
#32 ActiveRecord::ConnectionAdapters::DatabaseStatements.transaction_with_transactional_fixtures
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/test_after_commit-0.0.1/lib/test_after_commit.rb:23
#33 ActiveRecord::Transactions::ClassMethods.transaction
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:208
#34 ActiveRecord::Transactions.with_transaction_returning_status
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:311
#35 ActiveRecord::Persistence.update_attributes(attributes#Hash)
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/persistence.rb:215
#36 CaptureImage.save_metadata
at line /Users/chrisgat/projects/meat/app/models/capture_image.rb:153
#37 CaptureImage._run__2609034636892101181__create__2962896698304487768__callbacks
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:407
#38 ActiveSupport::Callbacks::ClassMethods.__run_callback(key#NilClass, kind#Symbol,...)
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405
#39 ActiveRecord::Base._run_create_callbacks
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385
#40 ActiveSupport::Callbacks.run_callbacks(kind#Symbol)
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81
#41 ActiveRecord::Callbacks.create
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/callbacks.rb:268
#42 ActiveRecord::Persistence.create_or_update
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/persistence.rb:348
#43 CaptureImage._run__2609034636892101181__save__2962896698304487768__callbacks
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:264
#44 ActiveSupport::Callbacks::ClassMethods.__run_callback(key#NilClass, kind#Symbol,...)
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405
#45 ActiveRecord::Base._run_save_callbacks
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385
#46 ActiveSupport::Callbacks.run_callbacks(kind#Symbol)
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81
#47 ActiveRecord::Callbacks.create_or_update
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/callbacks.rb:264
#48 ActiveRecord::Persistence.save
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/persistence.rb:84
#49 ActiveRecord::Validations.save
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/validations.rb:50
#50 ActiveRecord::AttributeMethods::Dirty.save
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/attribute_methods/dirty.rb:22
#51 ActiveRecord::ConnectionAdapters::DatabaseStatements.transaction
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/database_statements.rb:259
#52 ActiveRecord::ConnectionAdapters::DatabaseStatements.transaction_with_transactional_fixtures
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/test_after_commit-0.0.1/lib/test_after_commit.rb:23
#53 ActiveRecord::Transactions::ClassMethods.transaction
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:208
#54 ActiveRecord::Transactions.with_transaction_returning_status
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:311
#55 ActiveRecord::Transactions.rollback_active_record_state!
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:259
#56 ActiveRecord::Transactions.save
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/transactions.rb:258
#57 ActiveRecord::Persistence::ClassMethods.create
at line /Users/chrisgat/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.12/lib/active_record/persistence.rb:45
#58 at line /Users/chrisgat/projects/meat/spec/models/capture_image_spec.rb:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment