Do you know if it's possible (or advisable) to use ActiveStorage with Rails 5.1.6? In the Rails guides it states:
> After upgrading your application to Rails 5.2
http://guides.rubyonrails.org/active_storage_overview.html#setup
So I wonder whether it would be ill advised to add ActiveStorage as a gem to 5.1.6.
Yikes, it sounds like it's not the best idea for a simple plug and play solution with 5.1.6 then.
Thanks for taking the time to reply and thanks for the great video.
When I try this approach I get a **Circular dependency detected while autoloading constant** error when I run my app with foreman with resque.
I do **not** get the error when I simply run `rails server`.
In [this issue](https://github.com/resque/resque-scheduler/issues/646) it states:
> You have to make sure all classes can be loaded without this circular autoloading. There is a bug in your application, it is not resque-schedule issue.
>The classes can load fine in some ordering, but in others not. This is why you are getting this problem only occasionally. Sometimes the order your classes are loaded are different, and in those cases you get an exception. You need to make sure your classes can be loaded correctly in any order.
Do you see how this problem could be created from using namespaced concerns? Thanks for the help.
It appears this is a common problem as seen [here](https://github.com/rails/rails/issues/14401), [here](https://github.com/rails/rails/issues/36054) and [here](https://stackoverflow.com/questions/37507321/rails-namespacing-concerns-based-on-model-name).
The solution is to move your namespaced concern out of the `concerns/` directory and under the `models` directory as per [this answer](https://stackoverflow.com/a/50889849/1299792).
This is the same directory structure [they are using at Basecamp](https://twitter.com/dhh/status/964864438938492930)