Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for manual requiring Ejectable module in ActiveRecord #2

Open
maxveldink opened this issue Jul 22, 2022 · 0 comments
Open

Allow for manual requiring Ejectable module in ActiveRecord #2

maxveldink opened this issue Jul 22, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@maxveldink
Copy link
Owner

Currently, when you add activerecord-ejection_seat to your Gemfile, it will auto-require the Ejectable module in ActiveRecord::Base to make it available to all models automatically. There probably should be an option for auto-requiring (current behavior) or manually requiring. This would allow a company to have an explicit extend Ejectable in their ApplicationRecord or only extend Ejectable on the models they want to have that functionality for.

@maxveldink maxveldink added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant