aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
...
* | | 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
* | | Don't pass `table` to `last_chain_scope` and `next_chain_scope`Ryuta Kamizono2017-09-072-19/+17
* | | `RuntimeReflection` is not a subclass of `PolymorphicReflection`Ryuta Kamizono2017-09-071-26/+6
* | | `has_many :through` with unscope should affect to through scopeRyuta Kamizono2017-09-072-23/+14
* | | Don't pass unneeded `reflection` to `add_constraints`Ryuta Kamizono2017-09-051-3/+3
* | | Assigning `values` is only necessary when `reflection_scope.where_clause` is ...Ryuta Kamizono2017-09-051-1/+1
* | | Don't merge `reflection_scope` if `reflection.scope` isn't givenRyuta Kamizono2017-09-051-1/+1
* | | Should quote composite primary key namesRyuta Kamizono2017-09-041-1/+1
|/ /
* | Scope in associations should treat nil as `all`Ryuta Kamizono2017-09-045-8/+10
* | Fix preloading through association with custom scopeRyuta Kamizono2017-09-021-1/+6
* | `values[:includes]` in `reflection_scope` is not compatible with `through_scope`Ryuta Kamizono2017-09-021-1/+6
* | Don't call `scope.eager_loading?` when `reflection_scope.where_clause` is emptyRyuta Kamizono2017-09-021-10/+10
* | `add_reference` should respect column position for both reference id and type...Ryuta Kamizono2017-09-011-1/+1
* | Clarify intentions around method redefinitionsMatthew Draper2017-09-011-3/+2
* | Merge pull request #30377 from keepcosmos/delegate-missing-methodsMatthew Draper2017-08-311-2/+2
|\ \
| * | Delegate :rindex, :slice, :rotate to 'records'keepcosmos2017-08-241-2/+2
* | | Fix `can't modify frozen String` error in `DatabaseTasks`yuuji.yaginuma2017-08-302-2/+2
| |/ |/|
* | Merge pull request #30445 from prathamesh-sonpatki/fix-30441Kasper Timm Hansen2017-08-281-0/+2
|\ \
| * | Clarify that bulk option is supported only by MySQL [ci skip]Prathamesh Sonpatki2017-08-291-0/+2
* | | `@previous_reflection.options[:source_type]` in `PolymorphicReflection` is al...Ryuta Kamizono2017-08-281-10/+2
* | | Remove unused `RuntimeReflection#alias_candidate`Ryuta Kamizono2017-08-281-4/+0
* | | Should be appear deprecation message for every call (#29649)Ryuta Kamizono2017-08-271-8/+0