public
Created

Security Article Part 2 - 10

  • Download Gist
safe_sql.rb
Ruby
1 2
@projects = Project.where(:user_id => current_user.id).
where('name LIKE ?', "#{params[:name]}%")

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.