We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
According to documentation, client_id should allow Forest to correctly evaluate STI classes.
It does not work. We had to run rails dev:cache
[2021-06-15 16:31:39] Forest 🌳🌳🌳 Records Index error: Invalid single-table inheritance type: FlightItinerary is not a subclass of FlightItinerary /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/inheritance.rb:233:in `find_sti_class' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/inheritance.rb:207:in `discriminate_class_for_record' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/persistence.rb:69:in `instantiate' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/associations/join_dependency/join_part.rb:66:in `instantiate' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/associations/join_dependency.rb:118:in `block (2 levels) in instantiate' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/result.rb:57:in `block in each' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/result.rb:57:in `each' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/result.rb:57:in `each' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/associations/join_dependency.rb:116:in `block in instantiate' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/notifications/instrumenter.rb:23:in `instrument' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/associations/join_dependency.rb:115:in `instantiate' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/relation.rb:556:in `block (2 levels) in exec_queries' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/relation/finder_methods.rb:398:in `apply_join_dependency' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/relation.rb:550:in `block in exec_queries' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/relation.rb:584:in `skip_query_cache_if_necessary' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/relation.rb:547:in `exec_queries' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/relation.rb:422:in `load' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/relation.rb:200:in `records' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/relation.rb:195:in `to_ary' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/forest_liana-6.3.8/app/services/forest_liana/resources_getter.rb:82:in `records' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/forest_liana-6.3.8/app/controllers/forest_liana/resources_controller.rb:224:in `render_jsonapi' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/forest_liana-6.3.8/app/controllers/forest_liana/resources_controller.rb:36:in `block (2 levels) in index' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal/mime_responds.rb:203:in `respond_to' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/forest_liana-6.3.8/app/controllers/forest_liana/resources_controller.rb:35:in `index' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/abstract_controller/base.rb:194:in `process_action' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal/rendering.rb:30:in `process_action' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/abstract_controller/callbacks.rb:42:in `block in process_action' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/callbacks.rb:132:in `run_callbacks' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/abstract_controller/callbacks.rb:41:in `process_action' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal/rescue.rb:22:in `process_action' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/notifications.rb:168:in `block in instrument' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/notifications/instrumenter.rb:23:in `instrument' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/notifications.rb:168:in `instrument' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal/instrumentation.rb:32:in `process_action' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal/params_wrapper.rb:256:in `process_action' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/railties/controller_runtime.rb:24:in `process_action' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/abstract_controller/base.rb:134:in `process' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionview-5.2.4.6/lib/action_view/rendering.rb:32:in `process' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal.rb:191:in `dispatch' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_controller/metal.rb:236:in `block in action' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/forest_liana-6.3.8/app/controllers/forest_liana/router.rb:40:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/routing/mapper.rb:48:in `serve' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/journey/router.rb:52:in `block in serve' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/journey/router.rb:35:in `each' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/journey/router.rb:35:in `serve' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/routing/route_set.rb:840:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/railties-5.2.4.6/lib/rails/engine.rb:524:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/railties-5.2.4.6/lib/rails/railtie.rb:190:in `public_send' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/railties-5.2.4.6/lib/rails/railtie.rb:190:in `method_missing' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/routing/mapper.rb:48:in `serve' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/journey/router.rb:52:in `block in serve' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/journey/router.rb:35:in `each' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/journey/router.rb:35:in `serve' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/routing/route_set.rb:840:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rack-attack-6.5.0/lib/rack/attack.rb:113:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/versionist-2.0.1/lib/versionist/middleware.rb:39:in `_call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/versionist-2.0.1/lib/versionist/middleware.rb:17:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:27:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-5.2.4.6/lib/active_record/migration.rb:559:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/callbacks.rb:98:in `run_callbacks' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/callbacks.rb:26:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/executor.rb:14:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/appsignal-3.0.4/lib/appsignal/rack/rails_instrumentation.rb:19:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/railties-5.2.4.6/lib/rails/rack/logger.rb:38:in `call_app' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/railties-5.2.4.6/lib/rails/rack/logger.rb:26:in `block in call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/tagged_logging.rb:71:in `block in tagged' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/tagged_logging.rb:28:in `tagged' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/tagged_logging.rb:71:in `tagged' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/railties-5.2.4.6/lib/rails/rack/logger.rb:26:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/remote_ip.rb:81:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/request_id.rb:27:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.6/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/executor.rb:14:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-5.2.4.6/lib/action_dispatch/middleware/static.rb:127:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/railties-5.2.4.6/lib/rails/engine.rb:524:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/puma-5.3.1/lib/puma/configuration.rb:249:in `call' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/puma-5.3.1/lib/puma/request.rb:76:in `block in handle_request' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/puma-5.3.1/lib/puma/thread_pool.rb:338:in `with_force_shutdown' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/puma-5.3.1/lib/puma/request.rb:75:in `handle_request' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/puma-5.3.1/lib/puma/server.rb:437:in `process_client' /Users/yves/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/puma-5.3.1/lib/puma/thread_pool.rb:145:in `block in spawn_thread' Completed 500 Internal Server Error in 82ms (ActiveRecord: 4.6ms)
Follow up this thread in Forest forums
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior
According to documentation, client_id should allow Forest to correctly evaluate STI classes.
Actual behavior
It does not work.
We had to run rails dev:cache
Failure Logs
Context
Follow up this thread in Forest forums
The text was updated successfully, but these errors were encountered: