Open danrice92 opened 3 years ago
We use the same version and our working to update to Rails 7. We use rabl-rails pretty extensively. We have not encountered this warning with rabl-rails though. Is the warning still occurring for you?
We use the same version and our working to update to Rails 7. We use rabl-rails pretty extensively. We have not encountered this warning with rabl-rails though. Is the warning still occurring for you?
I am not seeing it currently, but I'm not sure if that's because the error was addressed or because we changed our code to get around this somehow.
Hello,
When upgrading our project that uses our gem to Rails 6 in Zeitwerk mode (setting
config.load_defaults
to "6.0"), we found that running our test suite output this warning:This is because line 24 of
lib/rabl-rails/configuration.rb
callsActionController::Base
without the suggestedto_prepare
block wrapping it.Is this something that can be tweaked in a future release to silence the warning/avoid future errors?