module Rails::Generators::ResourceHelpers
def self.included(base) # :nodoc:
:nodoc:
ActiveModel.
Deal with controller names on scaffold and add some helpers to deal with
def self.included(base) # :nodoc: base.include(Rails::Generators::ModelHelpers) base.class_option :model_name, type: :string, desc: "ModelName to be used" end