Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Kennedy Article on Rails Secuity

View vulnerble_code.rb
1 2 3 4 5 6 7 8 9 10 11
model = SomeModel.new(params[:some_model])
if model.save
# ...
end
 
# or
 
model = SomeModel.find(params[:id])
if model.update_attributes(params[:some_model])
# ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.