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

Add an alias for reverse_merge to with_defaults #28603

Merged
merged 1 commit into from Mar 29, 2017

Commits on Mar 29, 2017

  1. Add aliases for reverse_merge to with_defaults

    In the context of controller parameters, reverse_merge is commonly used
    to provide defaults for user input. Having an alias to reverse_merge
    called with_defaults feels more idiomatic for Rails.
    mcasper authored and mikeastock committed Mar 29, 2017
    Copy the full SHA
    0117810 View commit details
    Browse the repository at this point in the history