aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
...
* | | | | | Add a #populate method to migrations (#31082)Rich2017-11-143-0/+48
* | | | | | Update `exists?` documentationNikolai B2017-11-141-1/+2
* | | | | | Merge pull request #27947 from mastahyeti/unsafe_raw_sqlMatthew Draper2017-11-1413-33/+462
|\ \ \ \ \ \
| * | | | | | use database agnostic function/quoting in testBen Toews2017-11-091-4/+4
| * | | | | | push order arg checks down to allow for bindsBen Toews2017-11-093-28/+47
| * | | | | | deal with Array arguments to #orderBen Toews2017-11-093-4/+22
| * | | | | | convert order arg to string before checking if we can reverse itBen Toews2017-11-092-2/+6
| * | | | | | use << instead of #concat in #reverse_sql_order because we might be working w...Ben Toews2017-11-092-2/+2
| * | | | | | try using regexesBen Toews2017-11-0927-166/+120
| * | | | | | allow table name and direction in string order argBen Toews2017-11-0927-244/+295
| * | | | | | work around deprecation warnings in a bunch of testsBen Toews2017-11-0934-313/+320
| * | | | | | always allow Arel::Attributes::Attribute alsoBen Toews2017-11-091-1/+3
| * | | | | | call enforce_raw_sql_whitelist on @klass so it works with FakeKlassBen Toews2017-11-091-2/+2
| * | | | | | work with actual string when reversing orderBen Toews2017-11-091-0/+3
| * | | | | | remove :enabled optionBen Toews2017-11-093-59/+52
| * | | | | | beef up deprecation warningBen Toews2017-11-091-3/+7
| * | | | | | make tests more verbose/explicitBen Toews2017-11-091-78/+96
| * | | | | | allow Arel.sql() for pluckBen Toews2017-11-098-101/+159
| * | | | | | add config to check arguments to unsafe AR methodsBen Toews2017-11-096-21/+293
| | |_|/ / / | |/| | | |
* | | | | | Add `environment` as dependency of `load_config` (#31135)Yuji Yaginuma2017-11-141-24/+24
* | | | | | Properly cast input in `update_all`Sean Griffin2017-11-133-2/+14
* | | | | | Merge pull request #30980 from sobrinho/sobrinho/arel-star-ignored-columnsRafael França2017-11-136-45/+68
|\ \ \ \ \ \
| * | | | | | Fix postgres ordering issue on default scoping testGabriel Sobrinho2017-11-131-15/+15
| * | | | | | Change tests to use models which don't ignore any columnsJon Moss2017-11-133-30/+30
| * | | | | | Do not use `Arel.star` when `ignored_columns`Jon Moss2017-11-132-0/+23
* | | | | | | Use .tt extension to all the template filesRafael Mendonça França2017-11-135-0/+0
* | | | | | | Add new error class `StatementTimeout` which will be raised when statement ti...Ryuta Kamizono2017-11-136-2/+73
* | | | | | | Merge pull request #30773 from y-yagi/fix_30765Eileen M. Uchitelle2017-11-121-1/+2
|\ \ \ \ \ \ \
| * | | | | | | Make automatically synchronize test schema work inside engineyuuji.yaginuma2017-10-021-1/+2
* | | | | | | | Merge pull request #30791 from felipecvo/nested-attributes-docEileen M. Uchitelle2017-11-121-0/+12
|\ \ \ \ \ \ \ \
| * | | | | | | | Add update_only example to AR nested attributes doc [ci_skip]Felipe Oliveira2017-10-031-0/+12
| |/ / / / / / /
* | | | | | | | Raise `TransactionTimeout` when lock wait timeout exceeded for PG adapterRyuta Kamizono2017-11-114-3/+35
* | | | | | | | Should test actual error which is raised from the databaseRyuta Kamizono2017-11-111-1/+23
* | | | | | | | Add missing autoload `Type` (#31123)Ryuta Kamizono2017-11-112-1/+1
* | | | | | | | Relation merging should keep joining orderRyuta Kamizono2017-11-112-10/+17
* | | | | | | | Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2017-11-101-1/+1
* | | | | | | | Consolidate duplicated `to_ary`/`to_a` definitions in `Relation` and `Collect...Ryuta Kamizono2017-11-103-6/+9
* | | | | | | | Ensure `apply_join_dependency` for subqueries in `from` and `where`Ryuta Kamizono2017-11-103-0/+19
* | | | | | | | Remove useless preloader classesRyuta Kamizono2017-11-1010-104/+15
* | | | | | | | Merge pull request #30414 from bogdanvlviv/clear-mysql_database_tasksRafael França2017-11-093-139/+5
|\ \ \ \ \ \ \ \
| * | | | | | | | Simplify implementation of `MySQLDatabaseTasks`bogdanvlviv2017-10-303-135/+3
| * | | | | | | | Raise error if unsupported charset for mysqlbogdanvlviv2017-10-302-7/+5
* | | | | | | | | Merge pull request #25346 from bogdan/correct-tags-count-in-fixturesRafael França2017-11-095-11/+20
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Set counter caches to correct values in fixturesBogdan Gusiev2017-11-085-11/+20
* | | | | | | | | | Move Attribute and AttributeSet to ActiveModelLisa Ugray2017-11-0915-1284/+19
| |_|_|_|/ / / / / |/| | | | | | | |
* | | | | | | | | Should pass `test_no_locks_no_wait` not only on `PostgreSQLAdapter` and `Orac...Ryuta Kamizono2017-11-091-8/+5
* | | | | | | | | Run `ConcurrentTransactionTest` if `supports_transaction_isolation?`Yasuo Honda2017-11-081-15/+13
* | | | | | | | | `Mysql2Adapter` should pass `ConcurrentTransactionTest`Ryuta Kamizono2017-11-091-1/+1
* | | | | | | | | Consolidate redundant `if` and `unless` with the same conditionRyuta Kamizono2017-11-091-3/+1
* | | | | | | | | Don't expose accessors which are internal used onlyRyuta Kamizono2017-11-082-3/+6