Created
March 12, 2019 21:41
-
-
Save yoones/c78ddff011f3c7a36f982bf0fe1df8cf to your computer and use it in GitHub Desktop.
permit multiple attributes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
params.require(:customer).permit(:some_attribute, :yet_another_attribute, contracts: []) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment