phlex-rails icon indicating copy to clipboard operation
phlex-rails copied to clipboard

An object-oriented alternative to ActionView for Ruby on Rails.

Results 44 phlex-rails issues
Sort by recently updated
recently updated
newest added

This is the phlex-rails half of the work needed for phlex-ruby/phlex#628

In an effort for Phlex to be more compatible with Rails, a call to `render "foo"` will try to find the view `foo` instead of rendering the string `"foo"`. This...

Depends on https://github.com/phlex-ruby/phlex/pull/716

Back in 2022 @joeldrapper [said] (https://github.com/orgs/phlex-ruby/discussions/235#discussioncomment-3852112): > ... Yeah, Phlex is not a Rails template engine. It's a complete replacement for ActionView. I think we could find a way to...

I wasn't able to figure out how to run the tests, nor how to run my branch against my own project (bundler didn't seem to pickup the gemspec change, so...

This helper comes from https://api.rubyonrails.org/v7.1.3.4/classes/ActionDispatch/Flash/FlashHash.html#method-i-notice All we need to do is create `Phlex::Rails::Helpers::Notice` with this as the functional content: `register_value_helper :notice`

# Description https://github.com/phlex-ruby/phlex-rails/pull/190 added the `Phlex::Rails::Helpers::TurboRefreshesWith` helper, but did not add it to `Phlex::Rails::Layout`. This PR adds it, since it's expected that you'll call it there. Note: I tried to...

Hi @joeldrapper, Long time no see! Let's allow skipping the generated suffix, I am getting annoyed having to remove them all the time. I could also consider a phlex config...

### The Problem As described here: https://discord.com/channels/1082611227827638303/1082612756676620318/1255932550837309573 brakeman fails to parse `config.application.rb` after the phlex installer adds the extra autoload paths. As a result, it mistakenly reports a "Cross-Site Request...

## The Problem As discussed here: https://discord.com/channels/1082611227827638303/1254781033791098940 , `tailwind.config.js` can show up in several places in a Rails app, based on how/when you installed Tailwind. However, the Phlex install generator...