Skip to content

@ruprict /ok_code.rb
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Kennedy Article on Rails Secuity
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.