impressionist
impressionist copied to clipboard
Support for rails 7?
Is there any plans to support rails 7? The gem is currently preventing me from upgrading my rails 6.1 app to rails 7 as it breaks down (https://github.com/charlotte-ruby/impressionist/issues/302) with rails 7.
Hey, the problem is that in Rails 7 you cannot autoload reloadable code so early.
Also, it does not make sense that ImpressionistController::ClassMethods and ImpressionistController::InstanceMethods live in a reloadable file, because changes in that code won't be reflected in ActionController::Base, which is decorated only once during boot.
Would it make sense to extract those two decorators to lib and require them normally?