What does #with_items
do? And is it documented anywhere?
#1985
-
simple and advanced googling is yielding very little help. Documentation has no reference to However, I'm editing a feature that uses a viewComponent like so: render SomeComponent.new(arg: foo) do |component|
component.with_items(some_items.map { |item| Hash }
end So what is |
Beta Was this translation helpful? Give feedback.
Answered by
MarchandMD
Feb 7, 2024
Replies: 1 comment
-
Nevermind. The VC i'm working on inherits from another VC which |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MarchandMD
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nevermind. The VC i'm working on inherits from another VC which
renders_many :items
.