Sha256: 0fd08ba9a6aec69f52b02b0c327142e0aa4fe1580606fbd5d1a24466b79793d1
Contents?: true
Size: 597 Bytes
Versions: 8
Compression:
Stored size: 597 Bytes
Contents
require 'generators/batman/common' module Batman module Generators class ScaffoldGenerator < ::Rails::Generators::NamedBase include Common requires_app_name desc "This generator creates the client side CRUD scaffolding" def create_batman_model with_app_name do generate "batman:model #{singular_model_name} --app_name #{app_name}" generate "batman:controller #{singular_model_name} index show create update destroy --app_name #{app_name}" generate "batman:helper #{singular_model_name}" end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems