Skip to content

Conversation

@karinevieira
Copy link
Contributor

We received the following warning from Phlex:

The `helpers` method is deprecated and will be removed in the next
minor version of phlex-rails.

If you absolutely need to access the underlying Rails view context,
you can do that via the `view_context` method, though this is
not recommended.

It is much safer to use one of the built-in helper adapters or to
register your own adapter via `register_output_helper` or
`register_value_helper`.

See https://beta.phlex.fun/rails/helpers.html

To address this, I have adapted the code to be compatible with the next version, ensuring we follow the recommended practices and avoid future issues with the deprecation of the helpers method.

@stephannv stephannv merged commit 7da5b5b into ruby-ui:main Feb 18, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants