ErrLookup › ViewComponent/view_component

ViewComponent/view_component

A framework for building reusable, testable & encapsulated view components in Ruby on Rails. · Ruby · 56 source files

Analyzed at 9f22c36fa7 on 2026-08-23. 35 documented errors.

Code / MessageTypeSeverityTags
Component preview '#{params[:path]}' not found.
http error
ViewComponent SystemTest controller attempted to load a file
http error
It looks like a block was provided after calling `with_conte
exception error
`#controller` can't be used before rendering, as it depends
exception error
`#helpers` can't be used before rendering as it depends on t
exception error
The initializer for COMPONENT doesn't accept the parameter `
exception error
COMPONENT initializer can't accept the parameter `PARAMETER`
exception error
The value of the first argument passed to `with_collection`
exception error
TEMPLATE_ERRORS
exception error
No templates for COMPONENT match the request DETAIL. To fix
exception error
Inline templates can only be defined once per-component.
exception error view-component, ruby-on-rails, inline-template, ruby, dsl-misuse
wrong number of arguments (given #{args.size}, expected 1)
exception error view-component, ruby-on-rails, inline-template, argument-error, ruby
#{example} is not a valid preview example
http error view-component, ruby-on-rails, previews, action-not-found, dev-tooling
A preview template for example EXAMPLE doesn't exist. To fi
exception error view-component, ruby-on-rails, previews, missing-template, dev-tooling
Cannot serialize render_later with a block
exception error view-component, ruby-on-rails, serialization, activejob, turbo-streams
Cannot deserialize unknown component: #{hash["component_clas
exception error view-component, ruby-on-rails, serialization, activejob, class-not-found, rename-refactor
Cannot serialize anonymous component class #{component_class
exception error view-component, ruby-on-rails, serialization, anonymous-class, ruby
Cannot serialize render_in with a block
exception error view-component, ruby-on-rails, serialization, render-in, turbo-streams
Cannot serialize slot call '#{method_name}' with a block
exception error view-component, ruby-on-rails, slots, serialization, activejob
It looks like a block was provided after calling `with_conte
exception error view-component, ruby-on-rails, slots, content-ambiguity, duplicate-content
A method called 'SETTER_METHOD_NAME' already exists and woul
exception error ruby, rails, view-component, slots, polymorphic-slots, method-collision
COMPONENT declares a slot named SLOT_NAME, which is a reserv
exception error ruby, rails, view-component, slots, reserved-words, naming
COMPONENT declares a slot named content, which is a reserved
exception error ruby, rails, view-component, slots, reserved-words, content
COMPONENT declares the SLOT_NAME slot multiple times. To fi
exception error ruby, rails, view-component, slots, duplicate-definition, inheritance
COMPONENT declares a slot named SLOT_NAME, which ends with a
exception error ruby, rails, view-component, slots, naming, predicate-methods
Slot cannot start with 'call_'. Please rename #{slot_name}
exception error ruby, rails, view-component, slots, reserved-prefix, naming
COMPONENT declares a slot named SLOT_NAME, which is an uncou
exception error ruby, rails, view-component, slots, activesupport-inflector, naming
Content for slot SLOT_NAME has already been provided.
exception error
`#translate` can't be used before rendering as it depends on
exception error
No content provided to `#with_content` for #{self}. To fix
exception error
WARNING: The #{self.class} component was provided an HTML-un
console error
WARNING: The #{self.class} component was provided an HTML-un
console error
WARNING: The #{self.class} component's around_render returne
console error
WARNING: Template format for #{path} is missing, defaulting
console error
WARNING: The #{self.class} component rendered HTML-unsafe ou
console error