jstorimer / delayed_paperclip

Process your Paperclip attachments in the background with delayed_job or Resque.
https://github.com/jrgifford/delayed_paperclip/
392 stars 245 forks source link

create is not work with delayed_job Paperclip, shows undefined method '[]' Nil::Class #79

Open mdshakeer opened 10 years ago

mdshakeer commented 10 years ago

delayed_paperclip (2.6.1) lib/delayed_paperclip/attachment.rb:16:in delayed_options' delayed_paperclip (2.6.1) lib/delayed_paperclip/attachment.rb:32:indelay_processing?' delayed_paperclip (2.6.1) lib/delayed_paperclip/attachment.rb:21:in post_processing_with_delay' paperclip (3.5.2) lib/paperclip/attachment.rb:112:inassign' paperclip (3.5.2) lib/paperclip/has_attached_file.rb:65:in block in define_setter' activerecord (3.2.13) lib/active_record/attribute_assignment.rb:85:inblock in assign_attributes' activerecord (3.2.13) lib/active_record/attribute_assignment.rb:78:in each' activerecord (3.2.13) lib/active_record/attribute_assignment.rb:78:inassign_attributes' activerecord (3.2.13) lib/active_record/base.rb:498:in initialize' activerecord (3.2.13) lib/active_record/reflection.rb:183:innew' activerecord (3.2.13) lib/active_record/reflection.rb:183:in build_association' activerecord (3.2.13) lib/active_record/associations/association.rb:233:inbuild_record' activerecord (3.2.13) lib/active_record/associations/collection_association.rb:112:in build' C:inbuild' app/controllers/services_controller.rb:91:in dummy' actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:insend_action' actionpack (3.2.13) lib/abstract_controller/base.rb:167:in process_action' actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:inprocess_action' actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in block in process_action' activesupport (3.2.13) lib/active_support/callbacks.rb:403:in_run885008296process_action160265239callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.13) lib/active_support/callbacks.rb:385:in_run_process_action_callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:inprocess_action' actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in process_action' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:inblock in process_action' activesupport (3.2.13) lib/active_support/notifications.rb:123:in block in instrument' activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:ininstrument' activesupport (3.2.13) lib/active_support/notifications.rb:123:in instrument' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:inprocess_action' actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in process_action' activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:inprocess_action' newrelic_rpm (3.6.9.171) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:38:in block in process_action' newrelic_rpm (3.6.9.171) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:339:inperform_action_with_newrelic_trace' newrelic_rpm (3.6.9.171) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:37:in process_action' actionpack (3.2.13) lib/abstract_controller/base.rb:121:inprocess' actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in process' actionpack (3.2.13) lib/action_controller/metal.rb:203:indispatch' actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in dispatch' actionpack (3.2.13) lib/action_controller/metal.rb:246:inblock in action' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in call' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:indispatch' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in call' journey (1.0.4) lib/journey/router.rb:68:inblock in call' journey (1.0.4) lib/journey/router.rb:56:in each' journey (1.0.4) lib/journey/router.rb:56:incall' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in call' bullet (4.7.1) lib/bullet/rack.rb:12:incall' newrelic_rpm (3.6.9.171) lib/new_relic/rack/error_collector.rb:50:in call' newrelic_rpm (3.6.9.171) lib/new_relic/rack/agent_hooks.rb:28:incall' newrelic_rpm (3.6.9.171) lib/new_relic/rack/browser_monitoring.rb:23:in call' newrelic_rpm (3.6.9.171) lib/new_relic/rack/developer_mode.rb:42:incall' actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in call' rack (1.4.5) lib/rack/etag.rb:23:incall' rack (1.4.5) lib/rack/conditionalget.rb:25:in call' actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:incall' actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in call' actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:incall' rack (1.4.5) lib/rack/session/abstract/id.rb:210:in context' rack (1.4.5) lib/rack/session/abstract/id.rb:205:incall' actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in call' activerecord (3.2.13) lib/active_record/query_cache.rb:64:incall' activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call' actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:inblock in call' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in _run__913500026__call__32845469__callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in__run_callback' activesupport (3.2.13) lib/active_support/callbacks.rb:385:in _run_call_callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:81:inrun_callbacks' actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in call' actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:incall' actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in call' actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:incall' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in call' railties (3.2.13) lib/rails/rack/logger.rb:32:incall_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:intagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:incall' rack (1.4.5) lib/rack/methodoverride.rb:21:in call' rack (1.4.5) lib/rack/runtime.rb:17:incall' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in call' rack (1.4.5) lib/rack/lock.rb:15:incall' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in call' railties (3.2.13) lib/rails/engine.rb:479:incall' railties (3.2.13) lib/rails/application.rb:223:in call' rack (1.4.5) lib/rack/content_length.rb:14:incall' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in call' rack (1.4.5) lib/rack/handler/webrick.rb:59:inservice' C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/webrick/httpserver.rb:138:in service' C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/webrick/httpserver.rb:94:inrun' C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'