-
Notifications
You must be signed in to change notification settings - Fork 465
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 validations in before filter #306
Allow validations in before filter #306
Conversation
Thanks for this. Looks good at the first sigh. It would be nice to have there also Waiting for green tests. |
I'll have a look at the :implicit idea. Unfortunately this is for the moment a spare time project and only gets worked on irregularly. |
Conflicts: spec/controllers/users_controller_spec.rb
I'm done changing this now, please take another look. |
👍 to use before_filter |
Thank you very much for your time, merging now |
…_filter Allow validations in before filter
I'm happy to announce that the new version 0.3.0 was released, including this change. Thanks for making that happen https://github.com/Apipie/apipie-rails/blob/master/CHANGELOG.md#v030 |
Addresses issue #168, 'validators executes after before_filter'. Adds the ability to call APIpie validations as a before_filter, instead of by wrapping the controller method (but preserves the old behaviour as the default).