aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* | | Fix collided sequence name detectionRyuta Kamizono2017-09-181-1/+8
* | | Remove the code that swapping `scope` and `options`Ryuta Kamizono2017-09-182-8/+3
* | | `id` (primary key) is not only an integer [ci skip]Ryuta Kamizono2017-09-181-1/+1
* | | Ensure returning affected objects for class level `update` and `destroy`Ryuta Kamizono2017-09-181-2/+4
* | | Place class level `update`, `destroy`, and `delete` in `Persistence::ClassMet...Ryuta Kamizono2017-09-183-95/+93
* | | Early return if `records.empty?` in `Preloader#preload`Ryuta Kamizono2017-09-181-3/+3
* | | Don't pass `reflection_scope` to `preload_scope` if `reflection.scope` isn't ...Ryuta Kamizono2017-09-181-1/+3
* | | Return `through_scope` only if the scope is not empty scopeRyuta Kamizono2017-09-181-4/+2
* | | Remove useless condition in `reset_association`Ryuta Kamizono2017-09-181-2/+1
* | | Fix docs describing rollback [ci skip]dixpac2017-09-171-2/+2
|/ /
* | Remove unused explicit delegation to `klass` in `relation`Ryuta Kamizono2017-09-142-3/+2
* | Don't use `collection.table_name` in `collection_cache_key`Ryuta Kamizono2017-09-141-1/+1
* | Don't use `quoted_table_name` in `limited_ids_for`Ryuta Kamizono2017-09-142-2/+8
* | `quoted_table_name` doesn't respect table aliasRyuta Kamizono2017-09-141-1/+1
* | Make `in_batches` queries to preparableRyuta Kamizono2017-09-141-3/+10
* | PERF: Incorrect memoization in `ActiveRecord::Associations::Preloader::Associ...Guo Xiang Tan2017-09-111-1/+5
* | Merge pull request #30524 from tgxworld/recover_plucK_performanceSean Griffin2017-09-071-14/+17
|\ \
| * | PERF: Recover `ActiveRecord::pluck` performance.Guo Xiang Tan2017-09-061-14/+17
* | | Remove unnecessary `join_type` in `AssociationScope`Ryuta Kamizono2017-09-081-5/+1
* | | Remove duplicated `klass` method in `AssociationReflection`Ryuta Kamizono2017-09-081-16/+11
* | | Remove unused `primary_key_type` and `quoted_table_name` in `Reflection`Ryuta Kamizono2017-09-081-8/+0
* | | Fix `quote_default_expression` for UUID with array defaultRyuta Kamizono2017-09-081-1/+1