Skip to content

Instantly share code, notes, and snippets.

@NoharaMasato
Created January 16, 2020 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NoharaMasato/eab7dcc42905256c2b6be5e9b5d5b331 to your computer and use it in GitHub Desktop.
Save NoharaMasato/eab7dcc42905256c2b6be5e9b5d5b331 to your computer and use it in GitHub Desktop.
mixi bug shooting challenge task2
class UsersController < ActionController
def show
user = User.find(params[:id].to_i)
render json: user, except: [:crypted_password]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment