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

Inheritable param groups #576

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Haniyya
Copy link
Contributor

@Haniyya Haniyya commented Dec 7, 2017

This PR makes param_groups inheritable between Controllers.
Since the same functionality can already be achieved using the second argument to param_group this is more of a convenience feature.

Since def_param_group reminded me of define_method or just def i initially just assumed you would be able to inherit them. This should not break anything in the API since subclasses override the param_groups of their parents.

@ofedoren ofedoren force-pushed the master branch 2 times, most recently from 69442b9 to 8215e30 Compare July 25, 2021 19:41
@mathieujobin mathieujobin added the Stale waiting for update label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale waiting for update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants