index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
test
/
cases
/
unsafe_raw_sql_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Allow column name with function (e.g. `length(title)`) as safe SQL string
Ryuta Kamizono
2019-06-10
1
-27
/
+28
*
Allow `column_name AS alias` as safe SQL string
Ryuta Kamizono
2019-06-10
1
-0
/
+10
*
Allow quoted identifier string as safe SQL string
Ryuta Kamizono
2019-06-06
1
-4
/
+26
*
whitelist NULLS { FIRST | LAST } in order clauses
Xavier Noria
2018-03-06
1
-0
/
+20
*
Merge pull request #27947 from mastahyeti/unsafe_raw_sql
Matthew Draper
2017-11-14
1
-16
/
+12
*
use database agnostic function/quoting in test
Ben Toews
2017-11-09
1
-4
/
+4
*
push order arg checks down to allow for binds
Ben Toews
2017-11-09
1
-0
/
+36
*
try using regexes
Ben Toews
2017-11-09
1
-2
/
+2
*
allow table name and direction in string order arg
Ben Toews
2017-11-09
1
-1
/
+41
*
remove :enabled option
Ben Toews
2017-11-09
1
-54
/
+50
*
make tests more verbose/explicit
Ben Toews
2017-11-09
1
-78
/
+96
*
allow Arel.sql() for pluck
Ben Toews
2017-11-09
1
-17
/
+53
*
add config to check arguments to unsafe AR methods
Ben Toews
2017-11-09
1
-0
/
+177