You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found the documentation for Railtie surprisingly lack luster. I would rather add railties as an explicit dependency for the gem but have been unable to get the railtie to do the things I want it to do.
part of the problem is the gem name is activeinteractor but we need to require active_interactor, I've gotten around this with the install generator creating an initializer that requires active_interactor however I'm not 100% sure when this gets loaded during boot.
Research and create a POC Railtie class that accomplishes all these things.
The text was updated successfully, but these errors were encountered:
I've found the documentation for Railtie surprisingly lack luster. I would rather add
railties
as an explicit dependency for the gem but have been unable to get the railtie to do the things I want it to do.A few things I'd like to accomplish:
autoload_paths
#120app.config.autoload_paths
in a railtie initializer (to autoload the chosen interactor directory)ActionController
andActiveRecord
Problems I'm having:
activeinteractor
but we need to requireactive_interactor
, I've gotten around this with the install generator creating an initializer that requiresactive_interactor
however I'm not 100% sure when this gets loaded during boot.Research and create a POC Railtie class that accomplishes all these things.
The text was updated successfully, but these errors were encountered: