fjordllc / bootcamp

プログラマー向けEラーニングシステム
https://bootcamp.fjord.jp
MIT License
286 stars 71 forks source link

ActionView::Template::Error: PG::UndefinedColumn: ERROR: column users.free does not exist LINE 1: ..."."os" AS t1_r28, "users"."experience" AS t1_r29, "users"."f... ^ #8081

Open komagata opened 2 months ago

komagata commented 2 months ago

View details in Rollbar: https://app.rollbar.com/a/komagata/fix/item/Bootcamp/1741



PG::UndefinedColumn: ERROR:  column users.free does not exist
LINE 1: ..."."os" AS t1_r28, "users"."experience" AS t1_r29, "users"."f...
                                                             ^

  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/postgresql_adapter.rb", line 672, in exec_params
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/postgresql_adapter.rb", line 672, in block (2 levels) in exec_no_cache
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/dependencies/interlock.rb", line 48, in block in permit_concurrent_loads
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/concurrency/share_lock.rb", line 187, in yield_shares
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/dependencies/interlock.rb", line 47, in permit_concurrent_loads
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/postgresql_adapter.rb", line 671, in block in exec_no_cache
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/abstract_adapter.rb", line 696, in block (2 levels) in log
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 26, in block (2 levels) in synchronize
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 25, in handle_interrupt
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 25, in block in synchronize
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 21, in handle_interrupt
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 21, in synchronize
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/abstract_adapter.rb", line 695, in block in log
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications/instrumenter.rb", line 24, in instrument
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/abstract_adapter.rb", line 687, in log
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/postgresql_adapter.rb", line 670, in exec_no_cache
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/postgresql_adapter.rb", line 649, in execute_and_clear
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/postgresql/database_statements.rb", line 53, in exec_query
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/abstract/database_statements.rb", line 532, in select
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/abstract/database_statements.rb", line 69, in select_all
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/abstract/query_cache.rb", line 101, in block in select_all
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/abstract/query_cache.rb", line 118, in block in cache_sql
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 26, in block (2 levels) in synchronize
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 25, in handle_interrupt
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 25, in block in synchronize
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 21, in handle_interrupt
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 21, in synchronize
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/abstract/query_cache.rb", line 109, in cache_sql
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/abstract/query_cache.rb", line 101, in select_all
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/relation.rb", line 838, in block (2 levels) in exec_queries
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/relation/finder_methods.rb", line 421, in apply_join_dependency
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/relation.rb", line 833, in block in exec_queries
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/relation.rb", line 861, in skip_query_cache_if_necessary
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/relation.rb", line 828, in exec_queries
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/relation.rb", line 631, in load
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/associations/preloader/association.rb", line 118, in records_for
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/associations/preloader/association.rb", line 45, in load_records
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/associations/preloader/association.rb", line 27, in records_by_owner
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/associations/preloader/association.rb", line 17, in run
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/associations/preloader.rb", line 151, in block in preloaders_for_reflection
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/associations/preloader.rb", line 150, in each
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/associations/preloader.rb", line 150, in map
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/associations/preloader.rb", line 150, in preloaders_for_reflection
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/associations/preloader.rb", line 145, in block in preloaders_for_one
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/associations/preloader.rb", line 144, in each
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/associations/preloader.rb", line 144, in flat_map
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/associations/preloader.rb", line 144, in preloaders_for_one
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/associations/preloader.rb", line 110, in preloaders_on
  File "/usr/local/bundle/gems/activerecord-6.1.
github-actions[bot] commented 5 days ago

このissue|PRは60日間更新がないため7日後にcloseします。closeしたくない場合はstaleラベルを外してください。