aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Add a #populate method to migrations (#31082)Rich2017-11-141-0/+18
* Update `exists?` documentationNikolai B2017-11-141-1/+2
* Merge pull request #27947 from mastahyeti/unsafe_raw_sqlMatthew Draper2017-11-146-2/+98
|\
| * push order arg checks down to allow for bindsBen Toews2017-11-092-28/+11
| * deal with Array arguments to #orderBen Toews2017-11-092-1/+19
| * convert order arg to string before checking if we can reverse itBen Toews2017-11-091-0/+4
| * use << instead of #concat in #reverse_sql_order because we might be working w...Ben Toews2017-11-091-1/+1
| * try using regexesBen Toews2017-11-093-60/+21
| * allow table name and direction in string order argBen Toews2017-11-092-25/+32
| * 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-092-5/+2
| * beef up deprecation warningBen Toews2017-11-091-3/+7
| * allow Arel.sql() for pluckBen Toews2017-11-095-68/+90
| * add config to check arguments to unsafe AR methodsBen Toews2017-11-095-21/+116
* | Add `environment` as dependency of `load_config` (#31135)Yuji Yaginuma2017-11-141-24/+24
* | Properly cast input in `update_all`Sean Griffin2017-11-131-1/+2
* | Merge pull request #30980 from sobrinho/sobrinho/arel-star-ignored-columnsRafael França2017-11-131-0/+2
|\ \
| * | Do not use `Arel.star` when `ignored_columns`Jon Moss2017-11-131-0/+2
* | | 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-133-2/+11
* | | 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-111-0/+3
* | | | Add missing autoload `Type` (#31123)Ryuta Kamizono2017-11-112-1/+1
* | | | Relation merging should keep joining orderRyuta Kamizono2017-11-111-10/+8
* | | | 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-102-0/+7
* | | | Remove useless preloader classesRyuta Kamizono2017-11-1010-104/+15
* | | | Merge pull request #30414 from bogdanvlviv/clear-mysql_database_tasksRafael França2017-11-092-65/+0
|\ \ \ \
| * | | | Simplify implementation of `MySQLDatabaseTasks`bogdanvlviv2017-10-302-63/+0
| * | | | Raise error if unsupported charset for mysqlbogdanvlviv2017-10-301-3/+1
* | | | | Move Attribute and AttributeSet to ActiveModelLisa Ugray2017-11-0913-774/+19
| |_|_|/ |/| | |
* | | | Don't expose accessors which are internal used onlyRyuta Kamizono2017-11-082-3/+6
* | | | Don't expose internal methods in `Preloader::ThroughAssociation`Ryuta Kamizono2017-11-081-8/+7
* | | | Merge pull request #30714 from bogdanvlviv/fix-rails_db_migrate_VERSIONRafael França2017-11-063-8/+28
|\ \ \ \
| * | | | Fix `bin/rails db:migrate` with specified `VERSION`bogdanvlviv2017-11-063-8/+28
* | | | | Remove useless `associated_records_by_owner`Ryuta Kamizono2017-11-072-16/+10
|/ / / /
* | | | Merge pull request #28360 from kbrock/transaction_fixMatthew Draper2017-11-071-1/+1
|\ \ \ \
| * | | | Properly check transaction in persistenceKeenan Brock2017-11-061-1/+1
* | | | | Refactor Preloader CodeBogdan Gusiev2017-11-063-81/+40
|/ / / /
* | | | `scoping` should respect current class and STI constraint (#29199)Ryuta Kamizono2017-11-061-1/+7
* | | | Fix preloading polymorphic multi-level through associationRyuta Kamizono2017-11-061-1/+7
* | | | Fix preloading polymorphic association when through association has already l...Ryuta Kamizono2017-11-061-4/+16
* | | | Ensure `apply_join_dependency` for `update_all` and `delete_all` if eager-loa...Ryuta Kamizono2017-11-061-0/+10
* | | | Ensure `apply_join_dependency` for `collection_cache_key` if eager-loading is...Ryuta Kamizono2017-11-063-3/+6
* | | | Remove unused classesyuuji.yaginuma2017-11-031-30/+0