aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Stop using the `pg` Float encoderSean Griffin2016-12-011-1/+0
* Make the second argument to `attribute` optionalSean Griffin2016-11-301-1/+1
* Correct deprecation warnings in `ActiveRecord::Dirty`Sean Griffin2016-11-301-6/+6
* Merge pull request #27126 from kamipo/fix_unsigned_with_zerofillRafael França2016-11-292-2/+2
|\
| * Fix that unsigned with zerofill is treated as signedRyuta Kamizono2016-11-272-2/+2
* | fixing update_all and delete_all when chained with left_joins. fixes #27192Diego Plentz2016-11-271-2/+6
|/
* Merge pull request #26865 from sergey-alekseev/uniqueness-validation-scope-wi...Matthew Draper2016-11-271-4/+3
|\
| * fix the uniqueness validation scope with a polymorphic associationSergey Alekseev2016-11-261-4/+3
* | Clear available connections immediatelyMatthew Draper2016-11-271-0/+2
|/
* We're not calling hooks here since 9e4c41c903e8e58721f2c41776a8c60ddba7a0a9Akira Matsuda2016-11-251-1/+0
* Merge pull request #27165 from prathamesh-sonpatki/followup-uuid-extension-ch...Rafael França2016-11-251-5/+15
|\
| * Followup of UUID default extension in the docs [ci skip]Prathamesh Sonpatki2016-11-241-5/+15
* | Merge pull request #27108 from matthewd/allocate-connections-after-blockingMatthew Draper2016-11-251-19/+17
|\ \
| * | Distribute connections to previously blocked threads when we're doneMatthew Draper2016-11-251-19/+17
* | | Add test for collection *_ids= setter when association primary key setDominic Cleal2016-11-242-1/+5
* | | Restore RecordNotFound when *_ids= can't find records by IDDominic Cleal2016-11-242-6/+10
| |/ |/|
* | For `PostgreSQL >= 9.4` use `gen_random_uuid()`Yaw Boakye2016-11-223-8/+21
* | Introduce `reload_<association>` reader for singular associations.Yves Senn2016-11-222-1/+17
* | `eager_autoload` needs to be triggered for nested constants.Yves Senn2016-11-211-0/+5
|/
* Merge pull request #27057 from kamipo/fix_race_conditionMatthew Draper2016-11-191-6/+7
|\
| * Fix the race condition caused by `with_new_connections_blocked`Ryuta Kamizono2016-11-181-8/+4
* | Merge pull request #26981 from kamipo/should_not_except_order_for_existsRafael França2016-11-171-1/+1
|\ \
| * | Should except `:distinct` rather than `:order` for `exists?`Ryuta Kamizono2016-11-091-1/+1
* | | Merge pull request #27076 from y-yagi/fix_postgresql_array_encodingSean Griffin2016-11-171-1/+1
|\ \ \
| * | | use `force_encoding` instread of `encode!` to avoid `UndefinedConversionError`yuuji.yaginuma2016-11-171-1/+1
| | |/ | |/|
* | | Merge pull request #26980 from kamipo/respect_new_records_for_collection_prox...Sean Griffin2016-11-172-10/+16
|\ \ \
| * | | Respect new records for `CollectionProxy#uniq`Ryuta Kamizono2016-11-132-10/+16
* | | | docs, add `update_all` example with SQL fragment. [ci skip]Yves Senn2016-11-161-0/+3
* | | | Support AC::Parameters for PG HStoreJon Moss2016-11-151-0/+2
* | | | Refactor `NullRelation#calculate`Ryuta Kamizono2016-11-161-5/+4
| |/ / |/| |
* | | Fix style violationsRafael Mendonça França2016-11-141-1/+1
* | | Merge pull request #27030 from kamipo/avoid_build_preloaderRafael França2016-11-131-2/+3
|\ \ \
| * | | Avoid `build_preloader` if preloading is not neededRyuta Kamizono2016-11-141-2/+3
* | | | Call `spawn` and bang method for `none`Ryuta Kamizono2016-11-141-1/+1
* | | | Fix NameError: undefined local variable or method `result`Ryuta Kamizono2016-11-141-2/+2
|/ / /
* | | Merge pull request #26905 from bogdanvlviv/docsAndrew White2016-11-1315-23/+24
|\ \ \ | |/ / |/| |
| * | Add missing `+` around a some literals.bogdanvlviv2016-10-2715-23/+24
* | | Merge pull request #27019 from djpowers/patch-1Jon Moss2016-11-121-2/+2
|\ \ \
| * | | Fix spelling in API docsDave Powers2016-11-121-2/+2
* | | | Add `:nodoc` to `table_structure`Ryuta Kamizono2016-11-121-9/+2
|/ / /
* | | Refactor column initialization into `new_column_from_field`Kir Shatrov2016-11-114-38/+48
* | | Merge pull request #26978 from matthewd/query-cache-poolMatthew Draper2016-11-103-4/+39
|\ \ \
| * | | Configure query caching (per thread) on the connection poolMatthew Draper2016-11-063-2/+37
| * | | Try harder to avoid making a connection while releasing itMatthew Draper2016-11-061-2/+2
* | | | Mysql2::Client::FOUND_ROWS should be defined in all currently supported versi...Akira Matsuda2016-11-101-6/+4
| |_|/ |/| |
* | | Add ActiveRecord::Base.connection_pool.statPavel2016-11-091-0/+18
|/ /
* | Merge pull request #26909 from matthewd/query-cache-connectionMatthew Draper2016-11-063-12/+7
|\ \
| * | Clear query cache during checkin, instead of an execution callbackMatthew Draper2016-10-273-12/+7
* | | Avoid `unscope(:order)` when `limit_value` is presented for `count`Ryuta Kamizono2016-11-061-6/+6
* | | Don't assign default attributes until after loading schemaSean Griffin2016-11-031-1/+1