oscurrencyVRL / oscurrency

Affero licensed Mutual Credit/Time Bank software, operational in statewide b2b system
Other
15 stars 2 forks source link

Another credit card update bug: #194

Closed amykirschner closed 7 years ago

amykirschner commented 7 years ago

A NoMethodError occurred in people#update:

undefined method pry' for #<Binding:0x0000000aab7638> app/controllers/people_controller.rb:323:inupdate_credit_card'


Request:


Session:


Environment:


Backtrace:

app/controllers/people_controller.rb:323:in update_credit_card' app/controllers/people_controller.rb:199:inupdate' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/implicit_render.rb:4:in send_action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/base.rb:167:inprocess_action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/rendering.rb:10:in process_action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/callbacks.rb:18:inblock in process_action' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:526:in block (2 levels) in _run__1564866400460038109__process_action__1056803058181036215__callbacks' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_2355' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/core_ext/time/zones.rb:45:in use_zone' app/controllers/application_controller.rb:266:inset_time_zone' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:214:in _conditional_callback_around_2355' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:492:inblock in _run1564866400460038109process_action1056803058181036215callbacks' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:215:in block in _conditional_callback_around_2354' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:326:inaround' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:310:in _callback_around_13' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:214:in_conditional_callback_around_2354' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:425:in _run__1564866400460038109__process_action__1056803058181036215__callbacks' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:inrun_callback' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in _run_process_action_callbacks' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:inrun_callbacks' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/callbacks.rb:17:in process_action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/rescue.rb:29:inprocess_action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:30:in block in process_action' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:inblock in instrument' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications/instrumenter.rb:20:in instrument' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:ininstrument' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:29:in process_action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/params_wrapper.rb:207:inprocess_action' vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.16/lib/active_record/railties/controller_runtime.rb:18:in process_action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/base.rb:121:inprocess' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/rendering.rb:45:in process' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal.rb:203:indispatch' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/rack_delegation.rb:14:in dispatch' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal.rb:246:inblock in action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:73:in call' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:73:indispatch' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:36:in call' vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:inblock in call' vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in each' vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:incall' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:608:in call' vendor/bundle/ruby/1.9.1/gems/rack-pjax-0.7.0/lib/rack/pjax.rb:12:incall' vendor/bundle/ruby/1.9.1/gems/exception_notification-4.0.1/lib/exception_notification/rack.rb:28:in call' vendor/gems/oauth-plugin-0.4.0.pre7/lib/oauth/rack/oauth_filter.rb:71:incall' vendor/bundle/ruby/1.9.1/gems/rack-openid-1.3.1/lib/rack/openid.rb:98:in call' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/best_standards_support.rb:17:incall' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in call' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:35:incall' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/head.rb:14:in call' vendor/bundle/ruby/1.9.1/gems/remotipart-1.0.2/lib/remotipart/middleware.rb:30:incall' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/params_parser.rb:21:in call' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/flash.rb:242:incall' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in context' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:incall' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/cookies.rb:341:in call' vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.16/lib/active_record/query_cache.rb:64:incall' vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/callbacks.rb:28:inblock in call' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in `_run2590622080438649452call4033648484812068745__callbacks' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in __run_callback' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in_run_call_callbacks' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:in run_callbacks' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/callbacks.rb:27:incall' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/sendfile.rb:102:in call' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/remote_ip.rb:31:incall' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/show_exceptions.rb:56:incall' vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:32:in call_app' vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:inblock in call' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/tagged_logging.rb:22:in tagged' vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:incall' vendor/bundle/ruby/1.9.1/gems/request_store-1.3.1/lib/request_store/middleware.rb:9:in call' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/request_id.rb:22:incall' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in call' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:incall' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/cache/strategy/local_cache.rb:72:in call' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:incall' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/static.rb:63:in call' vendor/bundle/ruby/1.9.1/gems/rack-ssl-1.3.3/lib/rack/ssl.rb:27:incall' vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in forward' vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:inpass' vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in invalidate' vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:incall!' vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in call' vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/engine.rb:484:incall' vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/application.rb:231:in call' vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:inmethod_missing' vendor/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:552:in process_client' vendor/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:628:inworker_loop' vendor/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:500:in spawn_missing_workers' vendor/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:142:instart' vendor/bundle/ruby/1.9.1/gems/unicorn-4.5.0/bin/unicorn:121:in <top (required)>' vendor/bundle/ruby/1.9.1/bin/unicorn:23:inload' vendor/bundle/ruby/1.9.1/bin/unicorn:23:in <top (required)>' vendor/bundle/ruby/1.9.1/gems/bundler-1.13.6/lib/bundler/cli/exec.rb:74:inload' vendor/bundle/ruby/1.9.1/gems/bundler-1.13.6/lib/bundler/cli/exec.rb:74:in kernel_load' vendor/bundle/ruby/1.9.1/gems/bundler-1.13.6/lib/bundler/cli/exec.rb:27:inrun' vendor/bundle/ruby/1.9.1/gems/bundler-1.13.6/lib/bundler/cli.rb:332:in exec' vendor/bundle/ruby/1.9.1/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:inrun' vendor/bundle/ruby/1.9.1/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in invoke_command' vendor/bundle/ruby/1.9.1/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor.rb:359:indispatch' vendor/bundle/ruby/1.9.1/gems/bundler-1.13.6/lib/bundler/cli.rb:20:in dispatch' vendor/bundle/ruby/1.9.1/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/base.rb:440:instart' vendor/bundle/ruby/1.9.1/gems/bundler-1.13.6/lib/bundler/cli.rb:11:in start' vendor/bundle/ruby/1.9.1/gems/bundler-1.13.6/exe/bundle:34:inblock in <top (required)>' vendor/bundle/ruby/1.9.1/gems/bundler-1.13.6/lib/bundler/friendly_errors.rb:100:in with_friendly_errors' vendor/bundle/ruby/1.9.1/gems/bundler-1.13.6/exe/bundle:26:in<top (required)>' vendor/bundle/ruby/1.9.1/bin/bundle:23:in load' vendor/bundle/ruby/1.9.1/bin/bundle:23:in

'

ziyan-junaideen commented 7 years ago

Will get it resolved.

ziyan-junaideen commented 7 years ago

It is resolved, checking on staging...

amykirschner commented 7 years ago

Thanks! If it looks good go ahead and push and close this. If it pops up again, I'll catch it via error report.

ziyan-junaideen commented 7 years ago

Pushed to production. Should be good