aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/unsafe_raw_sql_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Allow column name with function (e.g. `length(title)`) as safe SQL stringRyuta Kamizono2019-06-101-27/+28
* Allow `column_name AS alias` as safe SQL stringRyuta Kamizono2019-06-101-0/+10
* Allow quoted identifier string as safe SQL stringRyuta Kamizono2019-06-061-4/+26
* whitelist NULLS { FIRST | LAST } in order clausesXavier Noria2018-03-061-0/+20
* Merge pull request #27947 from mastahyeti/unsafe_raw_sqlMatthew Draper2017-11-141-16/+12
* use database agnostic function/quoting in testBen Toews2017-11-091-4/+4
* push order arg checks down to allow for bindsBen Toews2017-11-091-0/+36
* try using regexesBen Toews2017-11-091-2/+2
* allow table name and direction in string order argBen Toews2017-11-091-1/+41
* remove :enabled optionBen Toews2017-11-091-54/+50
* make tests more verbose/explicitBen Toews2017-11-091-78/+96
* allow Arel.sql() for pluckBen Toews2017-11-091-17/+53
* add config to check arguments to unsafe AR methodsBen Toews2017-11-091-0/+177