aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/mysql/quoting.rb
Commit message (Expand)AuthorAgeFilesLines
* Share the column and table name quote cache between connectionsJean Boussier2019-07-091-2/+2
* Allow column name with function (e.g. `length(title)`) as safe SQL stringRyuta Kamizono2019-06-101-2/+8
* Allow `column_name AS alias` as safe SQL stringRyuta Kamizono2019-06-101-0/+1
* Refactor `disallow_raw_sql!` to avoid `split(/\s*,\s*/)` to order argsRyuta Kamizono2019-06-091-4/+13
* Allow quoted identifier string as safe SQL stringRyuta Kamizono2019-06-061-5/+26
* Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-1/+1
* Merge pull request #29870 from kamipo/use_true_false_literalsSean Griffin2017-07-221-10/+0
|\
| * Use `TRUE` and `FALSE` boolean literals for MySQLRyuta Kamizono2017-07-201-10/+0
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
|/
* Fix type casting a time for MariaDBRyuta Kamizono2017-07-191-1/+0
* Don't convert dates to strings when using prepared statements in mysqlSean Griffin2017-07-181-0/+8
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Extract `quoted_binary` and use it rather than override `_quote`Ryuta Kamizono2016-09-271-9/+3
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-6/+6
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-3/+3
* `@quoted_{column,table}_names` should cache a frozen stringRyuta Kamizono2016-07-281-2/+2
* Quoting booleans should return a frozen stringRyuta Kamizono2016-07-271-1/+1
* Make `QUOTED_TRUE` and `QUOTED_FALSE` to public because these are used in `My...Ryuta Kamizono2016-04-061-2/+2
* Move `quoted_date`, `quote_string` and `quote_table_name_for_assignment` meth...Ryuta Kamizono2016-04-051-0/+8
* Make to private `QUOTED_TRUE` and `QUOTED_FALSE` constantsRyuta Kamizono2016-04-051-0/+18
* Move `@quoted_{column|table}_names` cache up to the abstract adapterRyuta Kamizono2016-03-311-0/+8
* Make to private the visibility of `_quote` and `_type_cast`Ryuta Kamizono2016-03-301-0/+17