Support for rails 7 #1238
-
Is there currently support for rails 7? I couldn't find anything on the docs. It seems that the css is breaking when trying to render a component. Using tailwind. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hey there @simonsapiel! Yes, Rails 7 is supported. I suspect that the issue you're having may not be linked to ViewComponent itself, so I'll convert this to a discussion so that we can work to resolve it. Could you please follow these steps to replicate your issue in an isolated environment and provide us with more detail? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
Not sure if it's truly related, but I noticed a Rails 7 issue related to # Spec:
it 'renders a component' do
expect(render_inline(SomeComponent.new)).to have_selector('style')
end
# View:
= stylesheet_link_tag('foo.css') Produces the following error:
Seems that |
Beta Was this translation helpful? Give feedback.
I was unable to replicate the failure via our tests, but that might be because we're not hitting the check. Good job on finding the fix, though 👍 Sounds like an upstream fix would be appropriate.