Skip to content

Instantly share code, notes, and snippets.

@JuzerShakir
Created October 29, 2021 04:08
Show Gist options
  • Save JuzerShakir/1c4a62b6a1ed679d8a0d9c368fd15986 to your computer and use it in GitHub Desktop.
Save JuzerShakir/1c4a62b6a1ed679d8a0d9c368fd15986 to your computer and use it in GitHub Desktop.
used in medium
class UsersController < ApplicationController
def new
end
def create
end
def update
end
private
def users_params
params.require(:user).permit(:name)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment