AbstractController::ActionNotFound

The action 'render_example_to_string' could not be found for ViewComponentsController
vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/abstract_controller/base.rb [line 155]
152
153
154
155
156
157
158
@_action_name = action.to_s
unless action_name = _find_action_name(@_action_name)
raise ActionNotFound.new("The action '#{action}' could not be found for #{self.class.name}", self, action)
end
@_response_body = nil

Full stack trace:

/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/abstract_controller/base.rb:155:in `process'
/app/vendor/bundle/ruby/3.2.0/gems/actionview-7.1.3/lib/action_view/rendering.rb:40:in `process'
/app/vendor/bundle/ruby/3.2.0/gems/lookbook-1.5.5/app/controllers/concerns/lookbook/targetable_concern.rb:99:in `block in inspector_data'
/app/vendor/bundle/ruby/3.2.0/gems/lookbook-1.5.5/app/controllers/concerns/lookbook/targetable_concern.rb:98:in `map'
/app/vendor/bundle/ruby/3.2.0/gems/lookbook-1.5.5/app/controllers/concerns/lookbook/targetable_concern.rb:98:in `inspector_data'
/app/vendor/bundle/ruby/3.2.0/gems/lookbook-1.5.5/app/controllers/lookbook/inspector_controller.rb:35:in `block in main_panels'
/app/vendor/bundle/ruby/3.2.0/gems/lookbook-1.5.5/app/controllers/lookbook/inspector_controller.rb:34:in `map'
/app/vendor/bundle/ruby/3.2.0/gems/lookbook-1.5.5/app/controllers/lookbook/inspector_controller.rb:34:in `main_panels'
/app/vendor/bundle/ruby/3.2.0/gems/lookbook-1.5.5/app/controllers/lookbook/inspector_controller.rb:16:in `show'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/abstract_controller/base.rb:224:in `process_action'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_controller/metal/rendering.rb:165:in `process_action'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/abstract_controller/callbacks.rb:259:in `block in process_action'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.2.0/gems/actiontext-7.1.3/lib/action_text/rendering.rb:23:in `with_renderer'
/app/vendor/bundle/ruby/3.2.0/gems/actiontext-7.1.3/lib/action_text/engine.rb:69:in `block (4 levels) in <class:Engine>'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/callbacks.rb:130:in `instance_exec'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/callbacks.rb:130:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/callbacks.rb:141:in `run_callbacks'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/abstract_controller/callbacks.rb:258:in `process_action'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_controller/metal/rescue.rb:25:in `process_action'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_controller/metal/instrumentation.rb:74:in `block in process_action'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/notifications.rb:206:in `block in instrument'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/notifications.rb:206:in `instrument'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_controller/metal/instrumentation.rb:73:in `process_action'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_controller/metal/params_wrapper.rb:261:in `process_action'
/app/vendor/bundle/ruby/3.2.0/gems/activerecord-7.1.3/lib/active_record/railties/controller_runtime.rb:32:in `process_action'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/abstract_controller/base.rb:160:in `process'
/app/vendor/bundle/ruby/3.2.0/gems/actionview-7.1.3/lib/action_view/rendering.rb:40:in `process'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_controller/metal.rb:227:in `dispatch'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_controller/metal.rb:309:in `dispatch'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/routing/route_set.rb:32:in `serve'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/journey/router.rb:51:in `block in serve'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/journey/router.rb:131:in `block in find_routes'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/journey/router.rb:124:in `each'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/journey/router.rb:124:in `find_routes'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/journey/router.rb:32:in `serve'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/routing/route_set.rb:882:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/railties-7.1.3/lib/rails/engine.rb:536:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/railties-7.1.3/lib/rails/railtie.rb:226:in `public_send'
/app/vendor/bundle/ruby/3.2.0/gems/railties-7.1.3/lib/rails/railtie.rb:226:in `method_missing'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/routing/mapper.rb:22:in `block in <class:Constraints>'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/routing/mapper.rb:51:in `serve'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/journey/router.rb:51:in `block in serve'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/journey/router.rb:131:in `block in find_routes'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/journey/router.rb:124:in `each'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/journey/router.rb:124:in `find_routes'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/journey/router.rb:32:in `serve'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/routing/route_set.rb:882:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/middleware/static.rb:25:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/rack-3.0.8/lib/rack/static.rb:161:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/rack-3.0.8/lib/rack/tempfile_reaper.rb:20:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/rack-3.0.8/lib/rack/etag.rb:29:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/rack-3.0.8/lib/rack/conditional_get.rb:31:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/rack-3.0.8/lib/rack/head.rb:15:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/http/permissions_policy.rb:36:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/http/content_security_policy.rb:33:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:272:in `context'
/app/vendor/bundle/ruby/3.2.0/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:266:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/middleware/cookies.rb:689:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/callbacks.rb:101:in `run_callbacks'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/lograge-0.14.0/lib/lograge/rails_ext/rack/logger.rb:18:in `call_app'
/app/vendor/bundle/ruby/3.2.0/gems/railties-7.1.3/lib/rails/rack/logger.rb:24:in `block in call'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/tagged_logging.rb:135:in `block in tagged'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/tagged_logging.rb:39:in `tagged'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/tagged_logging.rb:135:in `tagged'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/broadcast_logger.rb:240:in `method_missing'
/app/vendor/bundle/ruby/3.2.0/gems/railties-7.1.3/lib/rails/rack/logger.rb:24:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/middleware/remote_ip.rb:92:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/middleware/request_id.rb:28:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/rack-3.0.8/lib/rack/method_override.rb:28:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/rack-3.0.8/lib/rack/runtime.rb:24:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/middleware/executor.rb:14:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/middleware/static.rb:25:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/rack-3.0.8/lib/rack/sendfile.rb:114:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3/lib/action_dispatch/middleware/ssl.rb:79:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/railties-7.1.3/lib/rails/engine.rb:536:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/puma-6.4.2/lib/puma/configuration.rb:272:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/puma-6.4.2/lib/puma/request.rb:100:in `block in handle_request'
/app/vendor/bundle/ruby/3.2.0/gems/puma-6.4.2/lib/puma/thread_pool.rb:378:in `with_force_shutdown'
/app/vendor/bundle/ruby/3.2.0/gems/puma-6.4.2/lib/puma/request.rb:99:in `handle_request'
/app/vendor/bundle/ruby/3.2.0/gems/puma-6.4.2/lib/puma/server.rb:464:in `process_client'
/app/vendor/bundle/ruby/3.2.0/gems/puma-6.4.2/lib/puma/server.rb:245:in `block in run'
/app/vendor/bundle/ruby/3.2.0/gems/puma-6.4.2/lib/puma/thread_pool.rb:155:in `block in spawn_thread'