-
Notifications
You must be signed in to change notification settings - Fork 357
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
Use copy_params_if_present #6105
Comments
Issue: ManageIQ#6105 Use the new method also in miq_request_methods.rb
I'm closing this issue as all the related PRs got merged. |
some of these look like they could be converted to use |
@romanblanco I was not making changes in the places where we would need to copy just one param with |
Anyway, if you think I should reopen the issue and investigate more each of the cases above, just tell me ;) |
@hstastna which one of them you had the problems with? I feel like we can still get rid of the cases in |
We can use new
copy_params_if_present
method in many places in the code and to improve functionality (""
vsnil
issues and bad response of Add/Save buttons), to simplify the code.I used
grep -rI '= params\[:.*\] if params'
to find the appropriate places.The text was updated successfully, but these errors were encountered: