| Commit message (Expand) | Author | Age | Files | Lines |
* | Add `Style/RedundantFreeze` to remove redudant `.freeze` | Yasuo Honda | 2018-09-29 | 1 | -1/+1 |
* | Refactor object creation from relation to avoid pushing scope attributes | Ryuta Kamizono | 2018-09-11 | 1 | -0/+4 |
* | Add AR::Base.base_class? predicate | Bogdan Gusiev | 2018-04-02 | 1 | -1/+7 |
* | Extract all `base_class.name` as `polymorphic_name` | Ryuta Kamizono | 2018-03-04 | 1 | -0/+4 |
* | Expand AR::Base.abstract_class documentation | Sam Bostock | 2018-02-20 | 1 | -10/+36 |
* | Fix inheritance object creation from relation | Ryuta Kamizono | 2017-12-13 | 1 | -4/+3 |
* | Update links to use https instead of http [ci skip] | Yoshiyuki Hirano | 2017-08-22 | 1 | -1/+1 |
* | Use frozen-string-literal in ActiveRecord | Kir Shatrov | 2017-07-19 | 1 | -0/+2 |
* | Improve the performance of writing attributes | Eugene Kenny | 2017-06-18 | 1 | -1/+1 |
* | Add option for class_attribute default (#29270) | David Heinemeier Hansson | 2017-05-29 | 1 | -2/+1 |
* | Performance optimization for ActiveRecord#subclass_from_attributes | Michael Lovitt | 2017-05-24 | 1 | -1/+1 |
* | Cache results of computing model type | Konstantin Lazarev | 2017-01-03 | 1 | -2/+15 |
* | Fix broken comments indentation caused by rubocop auto-correct [ci skip] | Ryuta Kamizono | 2016-09-14 | 1 | -12/+12 |
* | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -66/+66 |
* | applies new string literal convention in activerecord/lib | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
* | [ci skip] Update Documentation on ActiveRecord::Inheritance | Alex Kitchens | 2016-06-23 | 1 | -1/+2 |
* | Defer Arel attribute lookup to the model class | Matthew Draper | 2016-02-04 | 1 | -1/+1 |
* | Do not use default attributes for STI when instantiating a subclass | Sean Griffin | 2016-01-27 | 1 | -1/+5 |
* | run `type` column through attribtues API type casting. | Yves Senn | 2016-01-19 | 1 | -0/+1 |
* | Remove old comment about AC::Parameters>subclasses | claudiob | 2015-12-02 | 1 | -2/+0 |
* | don't rely on the columns hash to get defaults. follow-up to #17169. | Yves Senn | 2015-12-02 | 1 | -7/+1 |
* | add `ActiveRecord::Base.has_attribute?` | Yves Senn | 2015-12-02 | 1 | -2/+2 |
* | Merge pull request #17169 from kuldeepaggarwal/fix-STI-default-type | Yves Senn | 2015-12-02 | 1 | -9/+13 |
|\ |
|
| * | STI cast new instances to `default type` on initialize. | Kuldeep Aggarwal | 2015-12-02 | 1 | -0/+12 |
|/ |
|
* | Update and fix forbidden attributes tests | Thomas Walpole | 2015-11-03 | 1 | -1/+2 |
* | Fix a stylistic nitpick in #19501 | Sean Griffin | 2015-10-29 | 1 | -3/+3 |
* | Fix test failures caused by #19501 | Sean Griffin | 2015-10-29 | 1 | -1/+1 |
* | Fix merge conflicts from #19501 | Sean Griffin | 2015-10-29 | 1 | -20/+18 |
|\ |
|
| * | DRY up STI subclass logic | Cody Cutrer | 2015-03-24 | 1 | -19/+19 |
* | | Replace AR with ActiveRecord to make it more readable [ci skip] | arvind | 2015-09-08 | 1 | -1/+1 |
* | | invalid sti error message contains the full class name. | Yves Senn | 2015-05-13 | 1 | -1/+1 |
* | | allow setting of a demodulized class name when using STI | Alex Robbin | 2015-05-11 | 1 | -6/+8 |
|/ |
|
* | Revert "Merge pull request #19500 from ccutrer/dry_sti_subclass_finding" | Rafael Mendonça França | 2015-03-24 | 1 | -19/+19 |
* | DRY up STI subclass logic | Cody Cutrer | 2015-03-24 | 1 | -19/+19 |
* | Attribute assignment and type casting has nothing to do with columns | Sean Griffin | 2015-01-31 | 1 | -1/+1 |
* | Remove deprecated `symbolized_base_class` and `symbolized_sti_name` | Rafael Mendonça França | 2015-01-04 | 1 | -10/+0 |
* | Remove all cases of manuallly wrapping `Arel::Nodes::Quoted` | Sean Griffin | 2014-12-29 | 1 | -1/+0 |
* | We don't need to perform type casting on the STI condition | Sean Griffin | 2014-12-26 | 1 | -0/+1 |
* | Pass symbol as an argument instead of a block | Erik Michaels-Ober | 2014-11-29 | 1 | -1/+1 |
* | Revert "Improve performance of AR object instantiation" | Sean Griffin | 2014-11-14 | 1 | -8/+4 |
* | Improve performance of AR object instantiation | Sean Griffin | 2014-11-05 | 1 | -4/+8 |
* | edit pass over all warnings | Xavier Noria | 2014-10-28 | 1 | -2/+2 |
* | Merge pull request #15762 from arthurnn/better_error_on_bad_alias_method | Matthew Draper | 2014-07-18 | 1 | -8/+2 |
|\ |
|
| * | Dont swallow errors when bad alias_method | Arthur Neves | 2014-06-24 | 1 | -8/+2 |
* | | Tiny follow-up to #15987 and 088b4c3e [ci skip] | Robin Dupret | 2014-07-02 | 1 | -4/+4 |
* | | Move STI docs off of the main Base document, leaving a note | Sean Griffin | 2014-06-30 | 1 | -0/+31 |
|/ |
|
* | Move changed_attributes into dirty.rb | Keenan Brock | 2014-01-22 | 1 | -0/+10 |
* | Don't try to get the subclass if the inheritance column doesn't exist | Ujjwal Thaakar | 2014-01-14 | 1 | -7/+15 |
* | Set NameError#name | Chulki Lee | 2014-01-13 | 1 | -1/+1 |
* | Change all "can not"s to the correct "cannot". | T.J. Schuck | 2014-01-03 | 1 | -1/+1 |