aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* Fix longer sequence name detection for serial columns (#28339)Ryuta Kamizono2017-10-154-4/+26
* MySQL: Don't lose `auto_increment: true` in the `db/schema.rb`Ryuta Kamizono2017-10-151-0/+7
* Fix `COUNT(DISTINCT ...)` for `GROUP BY` with `ORDER BY` and `LIMIT`Ryuta Kamizono2017-10-141-1/+1
* Fix some typos.Mike Boone2017-10-101-2/+2
* Merge pull request #30836 from shioyama/generated_attribute_methods_include_m...Matthew Draper2017-10-101-2/+4
|\
| * 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-095-25/+31
* | | Remove meaningless named `construct_relation_for_association_calculations`Ryuta Kamizono2017-10-092-6/+3
* | | Fix `relation.exists?` with has_many through associationsRyuta Kamizono2017-10-091-4/+4
* | | Fix typo in loading error messageyuuji.yaginuma2017-10-091-1/+1
* | | Merge pull request #30757 from jeremy/optional-dependency-hellscapeJeremy Daer2017-10-081-3/+15
|\ \ \
| * | | Distinguish missing adapter gems from load errors within the adapterJeremy Daer2017-10-081-3/+15
* | | | 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-052-1/+2
* | Extract repeatedly appeared prepending compatible table definitionRyuta Kamizono2017-10-051-25/+24
|/
* Prefer official name PostgreSQL over PostgresRyuta Kamizono2017-10-041-2/+2
* Ensure `AliasTracker` respects a custom table nameRyuta Kamizono2017-09-302-2/+2
* 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
* | `Postgres::OID::Range` serializes to a `Range`, quote in `Quoting`Thomas Cannon2017-09-262-1/+9
* | 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-261-0/+1
* | 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
|/ /
* | 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-231-0/+19
* | 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-221-1/+1
* | Implement change_table_comment and change_column_comment for MySql AdapterAlecs Popa2017-09-221-0/+10
* | Use algorithm while removing index with db:rollbackMehmet Emin İNAÇ2017-09-211-2/+2
* | Merge pull request #30619 from jagthedrummer/jeremy/instrumentation-payload-n...Eileen M. Uchitelle2017-09-201-4/+4
|\ \
| * | Update payload names for `sql.active_record` to be more descriptive.Jeremy Green2017-09-201-4/+4
* | | make create_join_table compatible.Yuki Masutomi2017-09-201-0/+15
* | | Merge pull request #30656 from yskkin/add_column_docRyuta Kamizono2017-09-201-0/+2
|\ \ \
| * | | Add :comment option for add_column [ci skip]Yoshiyuki Kinjo2017-09-201-0/+2
| |/ /
* | | Remove unused delegation to `reflection.options` in `Preloader::Association`Ryuta Kamizono2017-09-182-4/+1
* | | The name of the key on the associated record is abstracted as `reflection.joi...Ryuta Kamizono2017-09-185-23/+14
* | | The name of the key on the owner is abstracted as `reflection.join_foreign_key`Ryuta Kamizono2017-09-184-17/+5
* | | Extract `associate_records_to_owner` to refactor `Preloader::Association`Ryuta Kamizono2017-09-183-20/+14