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

inherited validation blocks ignore :with option #442

Open
fran-worley opened this issue Aug 2, 2017 · 2 comments
Open

inherited validation blocks ignore :with option #442

fran-worley opened this issue Aug 2, 2017 · 2 comments
Labels
Milestone

Comments

@fran-worley
Copy link
Collaborator

This probably applies to other validation blocks, but when the base block doesn't include form it doesn't get injected as a param.

In my example this is a validation block inherited from a block in the superclassed form/contract.

reform v2.3.0.rc1 (and rc2 branch)

@ddidier
Copy link

ddidier commented Sep 11, 2017

I cannot make it work in the default group either. As a workaround I use options[:form]

@fran-worley fran-worley added this to the v 2.3 milestone Sep 11, 2017
@fran-worley
Copy link
Collaborator Author

@ddidier this is a confirmed bug.

@emaglio emaglio modified the milestones: v 2.3, 3.0 Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants