nhocki / como_vamos

A place to share solutions to competitive programming problems.
http://www.comovamos.co
GNU General Public License v3.0
8 stars 3 forks source link

[production] SessionsController#create (ActiveRecord::RecordInvalid) "Validation failed: Name can't be blank" #25

Closed comovamosbot closed 9 years ago

comovamosbot commented 9 years ago
ExceptionValidation failed: Name can't be blank
Last OccurrenceDecember 15, 2014 16:32:13 -0500
Count3

Stack Trace

[bundle].../gems/activerecord-4.1.6/lib/active_record/validations.rb:57:in `save!'
[bundle].../gems/activerecord-4.1.6/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
[bundle].../gems/activerecord-4.1.6/lib/active_record/transactions.rb:273:in `block in save!'
[bundle].../gems/activerecord-4.1.6/lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
[bundle].../gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
[bundle].../gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
[bundle].../gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
[bundle].../gems/activerecord-4.1.6/lib/active_record/transactions.rb:208:in `transaction'
[bundle].../gems/activerecord-4.1.6/lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
[bundle].../gems/activerecord-4.1.6/lib/active_record/transactions.rb:273:in `save!'
[bundle].../gems/activerecord-4.1.6/lib/active_record/validations.rb:41:in `create!'
[bundle].../gems/activerecord-4.1.6/lib/active_record/relation.rb:147:in `block in create!'
[bundle].../gems/activerecord-4.1.6/lib/active_record/relation.rb:292:in `scoping'
[bundle].../gems/activerecord-4.1.6/lib/active_record/relation.rb:147:in `create!'
[bundle].../gems/activerecord-4.1.6/lib/active_record/relation.rb:155:in `first_or_create!'
[app].../app/models/user.rb:20:in `from_omniauth'
[app].../app/controllers/sessions_controller.rb:3:in `create'
[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
[bundle].../gems/actionpack-4.1.6/lib/abstract_controller/base.rb:189:in `process_action'
[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal/rendering.rb:10:in `process_action'
[bundle].../gems/actionpack-4.1.6/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:113:in `call'
[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:113:in `call'
[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:229:in `block in halting'
[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:166:in `call'
[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:166:in `block in halting'
[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:86:in `call'
[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:86:in `run_callbacks'
[bundle].../gems/actionpack-4.1.6/lib/abstract_controller/callbacks.rb:19:in `process_action'
[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal/rescue.rb:29:in `process_action'
[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
[bundle].../gems/activesupport-4.1.6/lib/active_support/notifications.rb:159:in `block in instrument'
[bundle].../gems/activesupport-4.1.6/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
[bundle].../gems/activesupport-4.1.6/lib/active_support/notifications.rb:159:in `instrument'
[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
[bundle].../gems/activerecord-4.1.6/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
[bundle].../gems/actionpack-4.1.6/lib/abstract_controller/base.rb:136:in `process'
[bundle].../gems/actionview-4.1.6/lib/action_view/rendering.rb:30:in `process'
[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal.rb:196:in `dispatch'
[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal.rb:232:in `block in action'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/routing/route_set.rb:82:in `call'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/routing/route_set.rb:50:in `call'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/journey/router.rb:73:in `block in call'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/journey/router.rb:59:in `each'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/journey/router.rb:59:in `call'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/routing/route_set.rb:678:in `call'
[bundle].../gems/omniauth-1.2.2/lib/omniauth/strategy.rb:404:in `call_app!'
[bundle].../gems/omniauth-1.2.2/lib/omniauth/strategy.rb:362:in `callback_phase'
[bundle].../gems/omniauth-oauth2-1.2.0/lib/omniauth/strategies/oauth2.rb:77:in `callback_phase'
[bundle].../gems/omniauth-1.2.2/lib/omniauth/strategy.rb:227:in `callback_call'
[bundle].../gems/omniauth-1.2.2/lib/omniauth/strategy.rb:184:in `call!'
[bundle].../gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
[bundle].../gems/omniauth-1.2.2/lib/omniauth/builder.rb:59:in `call'
[bundle].../gems/party_foul-1.5.5/lib/party_foul/middleware.rb:8:in `call'
[bundle].../gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
[bundle].../gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
[bundle].../gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/flash.rb:254:in `call'
[bundle].../gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
[bundle].../gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/cookies.rb:560:in `call'
[bundle].../gems/activerecord-4.1.6/lib/active_record/query_cache.rb:36:in `call'
[bundle].../gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:82:in `run_callbacks'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
[bundle].../gems/airbrake-4.1.0/lib/airbrake/rails/middleware.rb:13:in `call'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
[bundle].../gems/railties-4.1.6/lib/rails/rack/logger.rb:38:in `call_app'
[bundle].../gems/railties-4.1.6/lib/rails/rack/logger.rb:20:in `block in call'
[bundle].../gems/activesupport-4.1.6/lib/active_support/tagged_logging.rb:68:in `block in tagged'
[bundle].../gems/activesupport-4.1.6/lib/active_support/tagged_logging.rb:26:in `tagged'
[bundle].../gems/activesupport-4.1.6/lib/active_support/tagged_logging.rb:68:in `tagged'
[bundle].../gems/railties-4.1.6/lib/rails/rack/logger.rb:20:in `call'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/request_id.rb:21:in `call'
[bundle].../gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
[bundle].../gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
[bundle].../gems/activesupport-4.1.6/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/static.rb:64:in `call'
[bundle].../gems/font_assets-0.1.11/lib/font_assets/middleware.rb:29:in `call'
[bundle].../gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
[bundle].../gems/airbrake-4.1.0/lib/airbrake/user_informer.rb:16:in `_call'
[bundle].../gems/airbrake-4.1.0/lib/airbrake/user_informer.rb:12:in `call'
[bundle].../gems/railties-4.1.6/lib/rails/engine.rb:514:in `call'
[bundle].../gems/railties-4.1.6/lib/rails/application.rb:144:in `call'
[bundle].../gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'
[bundle].../gems/unicorn-worker-killer-0.4.2/lib/unicorn/worker_killer.rb:51:in `process_client'
[bundle].../gems/unicorn-worker-killer-0.4.2/lib/unicorn/worker_killer.rb:124:in `process_client'
[bundle].../gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'
[bundle].../gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
[bundle].../gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
[bundle].../gems/unicorn-4.8.3/bin/unicorn:126:in `'
[bundle].../bin/unicorn:23:in `load'
[bundle].../bin/unicorn:23:in `
'

Fingerprint: fe556afc76b302909b6d652d7175d81ff7478c0b