aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb
Commit message (Expand)AuthorAgeFilesLines
* Avoid redundant `time.getutc` call if it is already utc time objectRyuta Kamizono2019-06-181-5/+5
* 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-5/+14
* Allow quoted identifier string as safe SQL stringRyuta Kamizono2019-06-061-0/+37
* Extract `sanitize_as_sql_comment` from SQL visitor into connectionRyuta Kamizono2019-03-191-0/+4
* Don't expose internal `type_casted_binds` methodRyuta Kamizono2019-03-191-7/+7
* Merge the redundant `when Symbol` case to the `when String, ...`Ryuta Kamizono2019-01-041-2/+1
* 2x faster `connection.type_cast`Ryuta Kamizono2019-01-041-6/+1
* Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-3/+3
* Implement change() to convert to "2001-01-01" firstSean Prashad2018-07-171-0/+1
* Ensure that leading date is stripped by quoted_timeAndrew White2018-03-111-1/+1
* Remove deprecated support to `quoted_id` when typecasting an Active Record ob...Rafael Mendonça França2017-10-231-17/+0
* Update links to use https instead of http [ci skip]Yoshiyuki Hirano2017-08-221-1/+1
* Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-0/+4
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Change sqlite3 boolean serialization to use 1 and 0Lisa Ugray2017-07-111-4/+4
* 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
* Clarify deprecation message for #quoted_idMatthew Draper2017-05-051-1/+8
* Make internal methods to privateRyuta Kamizono2017-03-271-11/+4
* Fix `LogSubscriber` to allow legacy `binds`Ryuta Kamizono2017-03-231-8/+7
* Merge pull request #27939 from kamipo/fix_select_all_with_legacy_bindsRafael França2017-03-201-1/+5
|\
| * Fix `select_all` with legacy `binds`Ryuta Kamizono2017-02-121-1/+5
* | Deprecate using `#quoted_id` in quotingRyuta Kamizono2017-02-241-0/+2
* | Fix type casting AR object to respect the primary key cast type's serializationRyuta Kamizono2017-02-241-2/+13
* | Merge pull request #26630 from kamipo/quoted_binaryRafael França2017-02-131-1/+6
|\ \ | |/ |/|
| * Extract `quoted_binary` and use it rather than override `_quote`Ryuta Kamizono2016-09-271-1/+6
* | Missing require "active_support/multibyte/chars"Akira Matsuda2017-01-271-0/+1
* | Remove deprecated support to passing a column to #quoteRafael Mendonça França2016-12-291-11/+1
|/
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-38/+38
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-6/+6
* Remove `prepare_binds_for_database` internal methodRyuta Kamizono2016-07-281-4/+0
* Merge pull request #25408 from kamipo/should_not_reuse_quoted_trueYves Senn2016-07-271-4/+4
|\
| * Quoting booleans should return a frozen stringRyuta Kamizono2016-07-271-4/+4
* | Extract `type_casted_binds` methodRyuta Kamizono2016-07-261-0/+4
|/
* Add `quoted_time` for truncating the date part of a time column valueRyuta Kamizono2016-04-141-0/+6
* Move `@quoted_{column|table}_names` cache up to the abstract adapterRyuta Kamizono2016-03-311-1/+1
* Add expression support on the schema defaultRyuta Kamizono2016-01-131-3/+7
* mysql2 adapter instead of mysql [ci skip]Rajarshi Das2015-12-201-1/+1
* applies new doc guidelines to Active Record.Yves Senn2015-10-141-4/+4
* Move comment about microseconds [ci skip]Ryuta Kamizono2015-05-031-0/+2
* Freeze static arguments for gsubbrainopia2015-04-021-1/+1
* Prefer string patterns for gsubbrainopia2015-04-021-1/+1
* `type_cast_for_database` -> `serialize`Sean Griffin2015-02-171-2/+2
* Register adapter specific types with the global type registrySean Griffin2015-02-151-21/+0
* Refactor `quote_default_expression`Ryuta Kamizono2015-02-111-0/+5
* Refactor microsecond precision to be database agnosticSean Griffin2015-02-101-1/+6
* Allow a symbol to be passed to `attribute`, in place of a type objectSean Griffin2015-02-061-0/+21
* rm `Column#cast_type`Sean Griffin2015-02-031-0/+11