Skip to content

Instantly share code, notes, and snippets.

@hito-asa
Forked from nakaearth/gist:5192827
Last active December 15, 2015 16:39
Show Gist options
  • Save hito-asa/5290892 to your computer and use it in GitHub Desktop.
Save hito-asa/5290892 to your computer and use it in GitHub Desktop.
private
def update_params
params.require(:hoge).permit(:title, :description, :priority, :status)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment