Class: AwsRecord::Generators::ScaffoldGenerator
- Inherits:
-
ResourceGenerator
- Object
- Rails::Generators::NamedBase
- Base
- ModelGenerator
- ResourceGenerator
- AwsRecord::Generators::ScaffoldGenerator
- Defined in:
- lib/generators/aws_record/scaffold/scaffold_generator.rb
Instance Attribute Summary
Attributes inherited from Base
#gsi_rw_units, #gsis, #length_validations, #primary_read_units, #primary_write_units, #required_attrs
Instance Method Summary collapse
Methods inherited from ModelGenerator
#create_model, #create_table_config
Instance Method Details
#handle_skip ⇒ Object
21 22 23 24 25 26 |
# File 'lib/generators/aws_record/scaffold/scaffold_generator.rb', line 21 def handle_skip @options = @options.merge(stylesheets: false) unless [:assets] return if [:stylesheets] && [:scaffold_stylesheet] @options = @options.merge(stylesheet_engine: false) end |