class
Rails::Generators::GeneratedAttribute
v7.0.0 -
Show latest stable
- Superclass: Object
No documentation available for this class.
Constants
DEFAULT_TYPES = %w(\nattachment\nattachments\nbelongs_to\nboolean\ndate\ndatetime\ndecimal\ndigest\nfloat\ninteger\nreferences\nrich_text\nstring\ntext\ntime\ntimestamp\ntoken\n)
INDEX_OPTIONS = %w(index uniq)
UNIQ_INDEX_OPTIONS = %w(uniq)
Attributes
| [R] | attr_options |
| [W] | index_name |
| [RW] | name |
| [RW] | type |
Files
- railties/lib/rails/generators/generated_attribute.rb