aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/inheritance.rb
Commit message (Expand)AuthorAgeFilesLines
* Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-1/+1
* Refactor object creation from relation to avoid pushing scope attributesRyuta Kamizono2018-09-111-0/+4
* Add AR::Base.base_class? predicateBogdan Gusiev2018-04-021-1/+7
* Extract all `base_class.name` as `polymorphic_name`Ryuta Kamizono2018-03-041-0/+4
* Expand AR::Base.abstract_class documentationSam Bostock2018-02-201-10/+36
* Fix inheritance object creation from relationRyuta Kamizono2017-12-131-4/+3
* Update links to use https instead of http [ci skip]Yoshiyuki Hirano2017-08-221-1/+1
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Improve the performance of writing attributesEugene Kenny2017-06-181-1/+1
* Add option for class_attribute default (#29270)David Heinemeier Hansson2017-05-291-2/+1
* Performance optimization for ActiveRecord#subclass_from_attributesMichael Lovitt2017-05-241-1/+1
* Cache results of computing model typeKonstantin Lazarev2017-01-031-2/+15
* Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-12/+12
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-66/+66
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-1/+1
* [ci skip] Update Documentation on ActiveRecord::InheritanceAlex Kitchens2016-06-231-1/+2
* Defer Arel attribute lookup to the model classMatthew Draper2016-02-041-1/+1
* Do not use default attributes for STI when instantiating a subclassSean Griffin2016-01-271-1/+5
* run `type` column through attribtues API type casting.Yves Senn2016-01-191-0/+1
* Remove old comment about AC::Parameters>subclassesclaudiob2015-12-021-2/+0
* don't rely on the columns hash to get defaults. follow-up to #17169.Yves Senn2015-12-021-7/+1
* add `ActiveRecord::Base.has_attribute?`Yves Senn2015-12-021-2/+2
* Merge pull request #17169 from kuldeepaggarwal/fix-STI-default-typeYves Senn2015-12-021-9/+13
|\
| * STI cast new instances to `default type` on initialize.Kuldeep Aggarwal2015-12-021-0/+12
|/
* Update and fix forbidden attributes testsThomas Walpole2015-11-031-1/+2
* Fix a stylistic nitpick in #19501Sean Griffin2015-10-291-3/+3
* Fix test failures caused by #19501Sean Griffin2015-10-291-1/+1
* Fix merge conflicts from #19501Sean Griffin2015-10-291-20/+18
|\
| * DRY up STI subclass logicCody Cutrer2015-03-241-19/+19
* | Replace AR with ActiveRecord to make it more readable [ci skip]arvind2015-09-081-1/+1
* | invalid sti error message contains the full class name.Yves Senn2015-05-131-1/+1
* | allow setting of a demodulized class name when using STIAlex Robbin2015-05-111-6/+8
|/
* Revert "Merge pull request #19500 from ccutrer/dry_sti_subclass_finding"Rafael Mendonça França2015-03-241-19/+19
* DRY up STI subclass logicCody Cutrer2015-03-241-19/+19
* Attribute assignment and type casting has nothing to do with columnsSean Griffin2015-01-311-1/+1
* Remove deprecated `symbolized_base_class` and `symbolized_sti_name`Rafael Mendonça França2015-01-041-10/+0
* Remove all cases of manuallly wrapping `Arel::Nodes::Quoted`Sean Griffin2014-12-291-1/+0
* We don't need to perform type casting on the STI conditionSean Griffin2014-12-261-0/+1
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* Revert "Improve performance of AR object instantiation"Sean Griffin2014-11-141-8/+4
* Improve performance of AR object instantiationSean Griffin2014-11-051-4/+8
* edit pass over all warningsXavier Noria2014-10-281-2/+2
* Merge pull request #15762 from arthurnn/better_error_on_bad_alias_methodMatthew Draper2014-07-181-8/+2
|\
| * Dont swallow errors when bad alias_methodArthur Neves2014-06-241-8/+2
* | Tiny follow-up to #15987 and 088b4c3e [ci skip]Robin Dupret2014-07-021-4/+4
* | Move STI docs off of the main Base document, leaving a noteSean Griffin2014-06-301-0/+31
|/
* Move changed_attributes into dirty.rbKeenan Brock2014-01-221-0/+10
* Don't try to get the subclass if the inheritance column doesn't existUjjwal Thaakar2014-01-141-7/+15
* Set NameError#nameChulki Lee2014-01-131-1/+1
* Change all "can not"s to the correct "cannot".T.J. Schuck2014-01-031-1/+1