Class: Ruact::Generators::ScaffoldGenerator::ScaffoldAttribute

Inherits:
Object
  • Object
show all
Defined in:
lib/generators/ruact/scaffold/scaffold_attribute.rb

Overview

A single scaffold attribute (name + AR type) with the view-model helpers the templates consume. references columns address <name>_id. Lives in its own file to keep Ruact::Generators::ScaffoldGenerator within its class-length budget; reopens the generator class so TYPE_MAP resolves by lexical scope.

Instance Attribute Summary collapse

Instance Method Summary collapse