class NamedBase
Ruby on Rails 8.1.2
Since v3.0.20No documentation comment.
Inherits from
Attributes
Methods (defined here)
- # js_template
- # template
- self. check_class_collision
Private methods
(33)
Implementation detail — not part of the public API.
- # application_name
- # assign_names!
- # attributes_names
- # class_name
- # class_path
- # edit_helper
- # file_path
- # fixture_file_name
- # human_name
- # i18n_scope
- # index_helper
- # inside_template
- # inside_template?
- # model_resource_name
- # mountable_engine?
- # namespaced_class_path
- # new_helper
- # parse_attributes!
- # plural_file_name
- # pluralize_table_names?
- # plural_name
- # plural_route_name
- # plural_table_name
- # redirect_resource_name
- # regular_class_path
- # route_url
- # show_helper
- # singular_name
- # singular_route_name
- # singular_table_name
- # table_name
- # uncountable?
- # url_helper_prefix
Used by
Subclasses (4)
Methods (inherited)
From Rails::Generators::Base (17)
- self. add_shebang_option!
- self. banner
- self. base_name
- self. base_root
- self. default_aliases_for_option
- self. default_for_option
- self. default_generator_root
- self. default_source_root
- self. default_value_for_option
- self. desc
- self. generator_name
- self. hide!
- self. hook_for
- self. namespace
- self. remove_hook_for
- self. source_root
- self. usage_path
From Rails::Generators::Actions (16)
- # add_source
- # application
- # environment
- # gem
- # gem_group
- # generate
- # git
- # github
- # initializer
- # lib
- # rails_command
- # rake
- # rakefile
- # readme
- # route
- # vendor