aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* 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
* | | Merge pull request #24202 from Sen-Zhang/fix_datetime_errorArthur Nogueira Neves2016-11-031-1/+1
|\ \ \
| * | | fix datatime errorSen-Zhang2016-11-011-1/+1
* | | | Fixes TypeError Exception when cache counter value equals nil (#26940)Daniel E. Garcia Shulman2016-11-021-1/+1
|/ / /
* | | Merge pull request #26451 from kamipo/remove_target_uniq_sizeSean Griffin2016-11-011-5/+1
|\ \ \
| * | | Remove unnecessary `target.uniq.size` in `CollectionAssociation#size`Ryuta Kamizono2016-10-291-5/+1
* | | | Merge pull request #26453 from kamipo/remove_unused_internal_dependent_optionSean Griffin2016-11-011-4/+1
|\ \ \ \
| * | | | Remove unused internal `:dependent` option in `CollectionAssociation#delete`Ryuta Kamizono2016-10-291-4/+1
| |/ / /
* | | | Allow `autosave: true` to be used with inverse ofSean Griffin2016-11-013-11/+12
* | | | Deprecate the behavior of AR::Dirty inside of after_(create|update|save) call...Sean Griffin2016-11-0115-51/+276
* | | | allow ActiveRecord::Core#slice to use array argCohen Carlisle2016-10-311-1/+1
|/ / /
* | | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-2927-63/+63
* | | Fix the variable scoping issue I introduced in 007e50d8e5a900547471b6c4ec79d9...Matthew Draper2016-10-281-2/+2
* | | Merge PR #19759Arthur Neves2016-10-281-1/+4
|\ \ \
| * | | Fix for has_and_belongs_to_many & has_many_through associations while partial...Mehmet Emin İNAÇ2016-02-131-1/+4
* | | | Merge pull request #26688 from kamipo/remove_respond_to_indexesKasper Timm Hansen2016-10-281-4/+0
|\ \ \ \
| * | | | Remove unnecessary `respond_to?(:indexes)` checkingRyuta Kamizono2016-10-031-4/+0
* | | | | Merge pull request #23770 from meinac/fix_habtm_symbol_class_nameArthur Nogueira Neves2016-10-271-1/+1
|\ \ \ \ \