Skip to content

Instantly share code, notes, and snippets.

@arockwell
Created May 16, 2012 22:13
Show Gist options
  • Select an option

  • Save arockwell/2714401 to your computer and use it in GitHub Desktop.

Select an option

Save arockwell/2714401 to your computer and use it in GitHub Desktop.
undefined local variable or method `flush_writes' for #<Paperclip::Attachment:0x1303a9130>
/Users/arockwell/dev/breport/vendor/plugins/paperclip/lib/paperclip/attachment.rb:175:in `save'
/Users/arockwell/dev/breport/vendor/plugins/paperclip/lib/paperclip.rb:361:in `send'
/Users/arockwell/dev/breport/vendor/plugins/paperclip/lib/paperclip.rb:361:in `save_attached_files'
/Users/arockwell/dev/breport/vendor/plugins/paperclip/lib/paperclip.rb:354:in `each_attachment'
/Users/arockwell/dev/breport/vendor/plugins/paperclip/lib/paperclip.rb:353:in `each'
/Users/arockwell/dev/breport/vendor/plugins/paperclip/lib/paperclip.rb:353:in `each_attachment'
/Users/arockwell/dev/breport/vendor/plugins/paperclip/lib/paperclip.rb:360:in `save_attached_files'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in `send'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:166:in `call'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:93:in `run'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in `each'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in `send'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in `run'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-2.3.14/lib/active_record/callbacks.rb:344:in `callback'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-2.3.14/lib/active_record/callbacks.rb:251:in `create_or_update'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-2.3.14/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-2.3.14/lib/active_record/validations.rb:1089:in `save_without_dirty'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-2.3.14/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-2.3.14/lib/active_record/transactions.rb:229:in `send'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-2.3.14/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-2.3.14/lib/active_record/transactions.rb:182:in `transaction_without_trace_ActiveRecord_self_name_transaction'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:491:in `transaction'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:486:in `transaction'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-2.3.14/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-2.3.14/lib/active_record/transactions.rb:196:in `save'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-2.3.14/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-2.3.14/lib/active_record/transactions.rb:196:in `save'
/Users/arockwell/dev/breport/lib/jobs/merge_facebook_accounts.rb:9:in `perform'
/Users/arockwell/dev/breport/lib/jobs/merge_facebook_accounts.rb:4:in `each'
/Users/arockwell/dev/breport/lib/jobs/merge_facebook_accounts.rb:4:in `perform'
/Users/arockwell/dev/breport/vendor/plugins/delayed_job/lib/delayed/backend/base.rb:54:in `invoke_job_without_newrelic_transaction_trace'
(eval):3:in `invoke_job'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:253:in `perform_action_with_newrelic_trace'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:248:in `perform_action_with_newrelic_trace'
(eval):2:in `invoke_job'
/Users/arockwell/dev/breport/vendor/plugins/delayed_job/lib/delayed/worker.rb:108:in `run'
/Users/arockwell/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/timeout.rb:67:in `timeout'
/Users/arockwell/dev/breport/vendor/plugins/delayed_job/lib/delayed/worker.rb:108:in `run'
/Users/arockwell/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/Users/arockwell/dev/breport/vendor/plugins/delayed_job/lib/delayed/worker.rb:107:in `run'
/Users/arockwell/dev/breport/vendor/plugins/delayed_job/lib/delayed/worker.rb:162:in `reserve_and_run_one_job'
/Users/arockwell/dev/breport/vendor/plugins/delayed_job/lib/delayed/worker.rb:92:in `work_off'
/Users/arockwell/dev/breport/vendor/plugins/delayed_job/lib/delayed/worker.rb:91:in `times'
/Users/arockwell/dev/breport/vendor/plugins/delayed_job/lib/delayed/worker.rb:91:in `work_off'
/Users/arockwell/dev/breport/vendor/plugins/delayed_job/lib/delayed/worker.rb:66:in `start'
/Users/arockwell/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/Users/arockwell/dev/breport/vendor/plugins/delayed_job/lib/delayed/worker.rb:65:in `start'
/Users/arockwell/dev/breport/vendor/plugins/delayed_job/lib/delayed/worker.rb:62:in `loop'
/Users/arockwell/dev/breport/vendor/plugins/delayed_job/lib/delayed/worker.rb:62:in `start'
/Users/arockwell/dev/breport/vendor/plugins/delayed_job/lib/delayed/tasks.rb:13
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/task.rb:205:in `call'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/task.rb:205:in `execute'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/task.rb:200:in `each'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/task.rb:200:in `execute'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/task.rb:158:in `invoke_with_call_chain'
/Users/arockwell/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/task.rb:144:in `old_invoke'
/Users/arockwell/dev/breport/lib/tasks/br.rake:10:in `invoke'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/application.rb:112:in `invoke_task'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/application.rb:90:in `top_level'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/application.rb:90:in `each'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/application.rb:90:in `top_level'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/application.rb:84:in `top_level'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/application.rb:62:in `run'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/gems/rake-0.9.2/bin/rake:32
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/bin/rake:19:in `load'
/Users/arockwell/.rvm/gems/ree-1.8.7-2011.03/bin/rake:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment