aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Fix `bin/rails db:setup` and `bin/rails db:test:prepare` create wrong ar_int...bogdanvlviv2017-10-153-9/+33
* Add a test case that eager-loading with a polymorphic association and using `...Ryuta Kamizono2017-10-161-0/+4
* Fix longer sequence name detection for serial columns (#28339)Ryuta Kamizono2017-10-156-4/+64
* MySQL: Don't lose `auto_increment: true` in the `db/schema.rb`Ryuta Kamizono2017-10-153-0/+47
* Fix `COUNT(DISTINCT ...)` for `GROUP BY` with `ORDER BY` and `LIMIT`Ryuta Kamizono2017-10-143-1/+11
* Show the failed queries in `test_has_one_does_not_use_order_by`Ryuta Kamizono2017-10-141-1/+2
* Fix some typos.Mike Boone2017-10-101-2/+2
* Merge pull request #30836 from shioyama/generated_attribute_methods_include_m...Matthew Draper2017-10-102-2/+9
|\
| * Add test for class of GeneratedAttributeMethods instance in ancestorsChris Salzberg2017-10-091-0/+5
| * Include Mutex_m into module class instead of extending instanceChris Salzberg2017-10-081-2/+4
* | Merge pull request #30798 from bogdanvlviv/express-change_column_comment-as-p...Sean Griffin2017-10-091-1/+1
|\ \
| * | Express #change_column_comment as public apibogdanvlviv2017-10-041-1/+1
* | | Joined tables in association scope doesn't use the same aliases with the pare...Ryuta Kamizono2017-10-097-25/+36
* | | All test cases for `exists?` places in `finder_test.rb` to ease to find the t...Ryuta Kamizono2017-10-092-26/+26
* | | Remove meaningless named `construct_relation_for_association_calculations`Ryuta Kamizono2017-10-092-6/+3
* | | Fix `relation.exists?` with has_many through associationsRyuta Kamizono2017-10-092-4/+12
* | | Fix typo in loading error messageyuuji.yaginuma2017-10-091-1/+1
* | | Merge pull request #30757 from jeremy/optional-dependency-hellscapeJeremy Daer2017-10-082-4/+16
|\ \ \
| * | | Distinguish missing adapter gems from load errors within the adapterJeremy Daer2017-10-082-4/+16
* | | | Remove passing redundant `self` to internal `apply_join_dependency` etcRyuta Kamizono2017-10-091-13/+12
|/ / /
* | / Decouple building `AliasTracker` from `JoinDependency`Ryuta Kamizono2017-10-087-17/+16
| |/ |/|
* | Merge pull request #30809 from meganemura/use-calleeRafael França2017-10-051-1/+1
|\ \
| * | Use __callee__ to pass alias instead of original method namemeganemura2017-10-051-1/+1
| |/
* | Move duplicated code to `delete_or_destroy` in `CollectionAssociation`Ryuta Kamizono2017-10-061-4/+2
* | Add JSON attribute test cases for SQLite3 adapterRyuta Kamizono2017-10-054-1/+33
* | Extract repeatedly appeared prepending compatible table definitionRyuta Kamizono2017-10-051-25/+24
|/
* Cleanup CHANGELOGs [ci skip]Ryuta Kamizono2017-10-041-11/+11
* Prefer official name PostgreSQL over PostgresRyuta Kamizono2017-10-041-2/+2
* Ensure `AliasTracker` respects a custom table nameRyuta Kamizono2017-09-303-6/+10
* Merge pull request #30471 from dylanahsmith/remove-redundant-trackerAaron Patterson2017-09-272-24/+10
|\
| * activerecord: Remove a redundant mutation trackerDylan Thacker-Smith2017-08-302-24/+10
* | Add test case for `arel_attribute` with a custom tableRyuta Kamizono2017-09-272-1/+5
* | `Postgres::OID::Range` serializes to a `Range`, quote in `Quoting`Thomas Cannon2017-09-265-2/+81
* | Remove unused `cached_columns` and `time_related_columns_on_topic` in `Attrib...Ryuta Kamizono2017-09-271-8/+0
* | Don't generate `foreign_type` if `options[:polymorphic]` is not givenRyuta Kamizono2017-09-271-1/+1
* | Treat `Set` as an `Array` in `Relation#where`Sean Griffin2017-09-263-0/+19
* | PERF: Partially recover some performance when preloading.Guo Xiang Tan2017-09-264-15/+13
* | Merge pull request #30705 from frodsan/use-digest-thread-safeMatthew Draper2017-09-261-1/+1
|\ \
| * | Preload digest/sha2 to avoid thread safe error.Francesco Rodriguez2017-09-251-1/+1
* | | PERF: Restore memoization when preloading associations.Guo Xiang Tan2017-09-251-6/+5
|/ /
* | Unneeded Mocha stubs for Kernel#systemAkira Matsuda2017-09-251-2/+0
* | Extract `integer_like_primary_key_type` to ease to handle it for adaptersRyuta Kamizono2017-09-254-17/+18
* | Move integer-like primary key normalization to `new_column_definition`Ryuta Kamizono2017-09-236-38/+28
* | Adding legacy primary key should be compatibleRyuta Kamizono2017-09-232-0/+70
* | Ensure `1 AS one` for SQL Server with calculations.Ken Collins2017-09-221-1/+1
* | Prevent extra `column_for` for `change_column_{default,null,comment}`Ryuta Kamizono2017-09-231-7/+4
* | `index_name` should be quotedRyuta Kamizono2017-09-221-1/+1
* | Return nil if table comment is blankRyuta Kamizono2017-09-222-2/+2
* | Implement change_table_comment and change_column_comment for MySql AdapterAlecs Popa2017-09-222-0/+32
* | Merge pull request #24199 from meinac/fix_invert_add_indexRyuta Kamizono2017-09-213-2/+13
|\ \