| Commit message (Expand) | Author | Age | Files | Lines |
* | Merge pull request #35121 from utilum/warning_tried_to_create_proc_without_block | Kasper Timm Hansen | 2019-03-10 | 1 | -2/+2 |
|\ |
|
| * | Ruby 2.7 warning: creating a Proc without a block | utilum | 2019-02-13 | 1 | -2/+2 |
* | | Allow returning nil for `default_scope` | Ryuta Kamizono | 2019-02-28 | 1 | -5/+4 |
* | | Deprecate using class level querying methods if the receiver scope regarded a... | Ryuta Kamizono | 2019-02-15 | 1 | -1/+9 |
|/ |
|
* | Refactor around scoping | Ryuta Kamizono | 2019-02-07 | 2 | -10/+2 |
* | Chaining named scope is no longer leaking to class level querying methods | Ryuta Kamizono | 2019-02-06 | 1 | -1/+2 |
* | Module#{define_method,alias_method,undef_method,remove_method} become public ... | Ryuta Kamizono | 2018-12-21 | 1 | -2/+2 |
* | Generate delegation methods to named scope in the definition time | Ryuta Kamizono | 2018-10-09 | 1 | -0/+2 |
* | Don't expose `current_scope` for internal use | Ryuta Kamizono | 2018-09-11 | 1 | -8/+6 |
* | Move `scoping` handling into klass level from relation | Ryuta Kamizono | 2018-09-11 | 1 | -1/+8 |
* | Remove redundant `all.scoping` | Ryuta Kamizono | 2018-09-11 | 1 | -4/+2 |
* | Bring back private class methods accessibility in named scope | Ryuta Kamizono | 2018-03-27 | 1 | -1/+1 |
* | Prevent scope named same as a ActiveRecord::Relation instance method. | Chen Kinnrot | 2017-11-28 | 1 | -0/+6 |
* | Prevent extra `spawn` to make `klass.all` faster (#29009) | Ryuta Kamizono | 2017-11-20 | 1 | -2/+2 |
* | `scoping` should respect current class and STI constraint (#29199) | Ryuta Kamizono | 2017-11-06 | 1 | -1/+7 |
* | Through scope should not be affected by scoping | Ryuta Kamizono | 2017-08-15 | 1 | -0/+10 |
* | Use frozen-string-literal in ActiveRecord | Kir Shatrov | 2017-07-19 | 2 | -0/+4 |
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 2 | -2/+0 |
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 2 | -0/+2 |
* | Merge pull request #29301 from kamipo/receiver_in_scope_should_be_relation | Rafael França | 2017-06-28 | 1 | -1/+1 |
|\ |
|
| * | The receiver in a scope should be a `relation` | Ryuta Kamizono | 2017-06-01 | 1 | -1/+1 |
* | | Move constructing polymorphic type to `join_scope` in `Reflection` | Ryuta Kamizono | 2017-06-27 | 1 | -2/+1 |
* | | Fix `default_scoped` with defined `default_scope` on STI model | Ryuta Kamizono | 2017-05-31 | 1 | -1/+5 |
|/ |
|
* | Merge pull request #29098 from kamipo/fix_association_with_extension_issues | Matthew Draper | 2017-05-30 | 1 | -4/+7 |
|\ |
|
| * | Extract `default_extensions` to avoid `klass.all` | Ryuta Kamizono | 2017-05-30 | 1 | -0/+8 |
| * | Refactor `default_scoped` to avoid creating extra relation and merging | Ryuta Kamizono | 2017-05-28 | 1 | -7/+2 |
* | | Add option for class_attribute default (#29270) | David Heinemeier Hansson | 2017-05-29 | 1 | -5/+2 |
* | | Enable extending even if scope returns nil | Ryuta Kamizono | 2017-05-24 | 1 | -6/+6 |
|/ |
|
* | Fix Rubocop violations and fix documentation visibility | Rafael Mendonça França | 2016-12-28 | 1 | -6/+6 |
* | Privatize unneededly protected methods in Active Record | Akira Matsuda | 2016-12-24 | 2 | -8/+8 |
* | Add missing `+` around a some literals. | bogdanvlviv | 2016-10-27 | 1 | -1/+1 |
* | Fix broken comments indentation caused by rubocop auto-correct [ci skip] | Ryuta Kamizono | 2016-09-14 | 1 | -44/+44 |
* | Merge pull request #26037 from monmonmon/master | Rafael França | 2016-08-17 | 1 | -1/+1 |
|\ |
|
| * | Check if the logger exists before trying to use it | monmon | 2016-08-03 | 1 | -1/+1 |
* | | code gardening: removes redundant selfs | Xavier Noria | 2016-08-08 | 1 | -2/+2 |
* | | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -42/+42 |
* | | applies new string literal convention in activerecord/lib | Xavier Noria | 2016-08-06 | 1 | -4/+4 |
|/ |
|
* | Execute default_scope defined by abstract class within the scope of subclass | Mehmet Emin İNAÇ | 2016-03-08 | 1 | -1/+2 |
* | Revert "Remove valid_scope_name? check - use ruby" | Akira Matsuda | 2016-01-28 | 1 | -0/+10 |
* | Merge branch '5-0-beta-sec' | Aaron Patterson | 2016-01-25 | 1 | -1/+1 |
|\ |
|
| * | Eliminate instance level writers for class accessors | Aaron Patterson | 2016-01-22 | 1 | -1/+1 |
* | | Skip the STI condition when evaluating a default scope | Matthew Draper | 2016-01-12 | 1 | -2/+2 |
|/ |
|
* | Do not omit parentheses [ci skip] | Ryuta Kamizono | 2015-10-25 | 1 | -1/+1 |
* | applies new doc guidelines to Active Record. | Yves Senn | 2015-10-14 | 2 | -16/+18 |
* | Modify the scope method documentation | Tommaso Visconti | 2015-10-08 | 1 | -3/+8 |
* | Merge pull request #21522 from tgxworld/scope_perf | Rafael Mendonça França | 2015-09-07 | 1 | -1/+8 |
|\ |
|
| * | Cache check if `default_scope` has been overridden. | Guo Xiang Tan | 2015-09-07 | 1 | -1/+8 |
* | | PERF: Don't create a Relation when it is not needed. | Guo Xiang Tan | 2015-09-07 | 1 | -1/+2 |
|/ |
|
* | Prevent duplicating `where` clauses when model is extended from an abstract c... | Mehmet Emin İNAÇ | 2015-04-15 | 1 | -0/+1 |
* | Fix eager loading association using default_scope for finder methods. | Santosh Wadghule | 2015-03-31 | 1 | -1/+1 |