Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgumentError: comparison of Date with nil failed #248

Open
quaasi opened this issue Jul 9, 2019 · 0 comments
Open

ArgumentError: comparison of Date with nil failed #248

quaasi opened this issue Jul 9, 2019 · 0 comments

Comments

@quaasi
Copy link
Member

quaasi commented Jul 9, 2019

View details in Rollbar: https://rollbar.com/MQA/em/items/97/


ArgumentError: comparison of Date with nil failed
  File "/var/www/events/releases/20190613185948/app/models/seminar.rb", line 164, in min
  File "/var/www/events/releases/20190613185948/app/models/seminar.rb", line 164, in set_date
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb", line 413, in block in make_lambda
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb", line 197, in block (2 levels) in halting
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb", line 601, in block (2 levels) in default_terminator
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb", line 600, in catch
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb", line 600, in block in default_terminator
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb", line 198, in block in halting
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb", line 507, in block in invoke_before
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb", line 507, in each
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb", line 507, in invoke_before
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb", line 130, in run_callbacks
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb", line 827, in _run_save_callbacks
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/callbacks.rb", line 336, in create_or_update
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/persistence.rb", line 129, in save
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/validations.rb", line 44, in save
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/attribute_methods/dirty.rb", line 35, in save
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/transactions.rb", line 308, in block (2 levels) in save
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/transactions.rb", line 384, in block in with_transaction_returning_status
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb", line 233, in transaction
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/transactions.rb", line 210, in transaction
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/transactions.rb", line 381, in with_transaction_returning_status
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/transactions.rb", line 308, in block in save
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/transactions.rb", line 323, in rollback_active_record_state!
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/transactions.rb", line 307, in save
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/suppressor.rb", line 42, in save
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/persistence.rb", line 281, in block in update
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/transactions.rb", line 384, in block in with_transaction_returning_status
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb", line 235, in block in transaction
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/connection_adapters/abstract/transaction.rb", line 194, in block in within_new_transaction
  File "/home/deploy/.rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb", line 214, in mon_synchronize
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/connection_adapters/abstract/transaction.rb", line 191, in within_new_transaction
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb", line 235, in transaction
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/transactions.rb", line 210, in transaction
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/transactions.rb", line 381, in with_transaction_returning_status
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activerecord-5.1.6/lib/active_record/persistence.rb", line 279, in update
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/draper-3.0.1/lib/draper/automatic_delegation.rb", line 12, in method_missing
  File "/var/www/events/releases/20190613185948/app/controllers/admin/seminars_controller.rb", line 115, in update
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/basic_implicit_render.rb", line 4, in send_action
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/abstract_controller/base.rb", line 186, in process_action
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/rendering.rb", line 30, in process_action
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb", line 20, in block in process_action
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb", line 131, in run_callbacks
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb", line 19, in process_action
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/rescue.rb", line 20, in process_action
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/actionpack-5.1.6/lib/action_controller/metal/instrumentation.rb", line 32, in block in process_action
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/notifications.rb", line 166, in block in instrument
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/active_support/notifications/instrumenter.rb", line 21, in instrument
  File "/var/www/events/shared/bundle/ruby/2.4.0/gems/activesupport-5.1.6/lib/activ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant