diff options
author | Sam Bostock <sam.bostock@shopify.com> | 2017-11-16 17:20:46 -0500 |
---|---|---|
committer | Sam Bostock <sam.bostock@shopify.com> | 2018-02-20 13:26:20 -0500 |
commit | 0399fc7351d5d59d78af77130d4e1e4e7a6b8b0d (patch) | |
tree | 923a15a29b4e95581bc20c24c156fc18054e3aac /actionview/coffeelint.json | |
parent | c42dafd437f6392bf0fb41ac751a8e231940b67e (diff) | |
download | rails-0399fc7351d5d59d78af77130d4e1e4e7a6b8b0d.tar.gz rails-0399fc7351d5d59d78af77130d4e1e4e7a6b8b0d.tar.bz2 rails-0399fc7351d5d59d78af77130d4e1e4e7a6b8b0d.zip |
Expand AR::Base.abstract_class documentation
The previous documentation is somewhat unclear about the use case for an
abstract ActiveRecord class.
This clears it up by highlighting the following points:
- table_name is not derived from the abstract class' name
- type is not derived on direct descendants of the abstract class
- validations, not abstract_class, should be used to specify whether
the parent model can be instantiated or not
Diffstat (limited to 'actionview/coffeelint.json')
0 files changed, 0 insertions, 0 deletions