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. 34 documented errors.

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