Module: Hibiki::Rails::Generators::ExtrasThreading

Included in:
MultiselectGenerator, UploadFieldGenerator
Defined in:
lib/generators/hibiki/rails/extras_threading.rb

Overview

Threading the extras: hash through a pre-0.7.0 scaffold's partial chain. Scaffolds since 0.7.0 emit it themselves (list -> row -> row_form, untouched), so on those this is a no-op probe; older output gets the header/keyword plus the two render calls retrofitted, anchored on text every scaffold emitted verbatim.

Shared by every add-on generator that rides extras: (hibiki:rails:multiselect, hibiki:rails:upload_field). Depends on the generator for view_path/row_partial/row_form_partial/phlex?.