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

[Spree 2.1] Implement Strong Parameters in various controllers #4827

Merged
merged 20 commits into from
Mar 25, 2020

Conversation

luisramos0
Copy link
Contributor

@luisramos0 luisramos0 commented Feb 22, 2020

What? Why?

#4828 disabled protected_attributes and started to implement strong parameters on some controllers.
This PR continues that task #4644

What should we test?

More green specs with no ForbiddenAttribute error.

@luisramos0 luisramos0 changed the base branch from master to 3-0-stable February 22, 2020 12:56
@luisramos0 luisramos0 self-assigned this Feb 22, 2020
@luisramos0 luisramos0 changed the title Strong params WIP Handle strong params WITHOUT the protected_attributes gem Feb 22, 2020
@luisramos0 luisramos0 force-pushed the strong_params branch 2 times, most recently from db397d1 to 65b812a Compare February 22, 2020 19:17
@luisramos0 luisramos0 changed the title WIP Handle strong params WITHOUT the protected_attributes gem [Spree 2.1] Implement Strong Parameters in some controllers Feb 22, 2020
@luisramos0 luisramos0 changed the title [Spree 2.1] Implement Strong Parameters in some controllers [Spree 2.1] Implement Strong Parameters in most controllers Feb 23, 2020
@luisramos0
Copy link
Contributor Author

ready for review again @Matt-Yorkley

Copy link
Contributor

@Matt-Yorkley Matt-Yorkley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 🎉

@Matt-Yorkley
Copy link
Contributor

Matt-Yorkley commented Feb 26, 2020

You left a byebug in the zones controller commit: a9dae09

@luisramos0 luisramos0 changed the base branch from strong_params_prs to 3-0-stable March 21, 2020 20:31
@luisramos0 luisramos0 changed the title [Spree 2.1] WIP Implement Strong Parameters in most controllers [Spree 2.1] Implement Strong Parameters in various controllers Mar 21, 2020
@sauloperez sauloperez merged commit a72957e into openfoodfoundation:3-0-stable Mar 25, 2020
@luisramos0 luisramos0 deleted the strong_params branch March 25, 2020 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants