Class: HorsePower::ScaffoldGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/horse_power/scaffold/scaffold_generator.rb

Instance Method Summary collapse

Instance Method Details

#sprintObject



8
9
10
11
12
13
14
15
16
# File 'lib/generators/horse_power/scaffold/scaffold_generator.rb', line 8

def sprint
	create_model
	create_controller
	create_serializer
	create_authorizations
	create_tests
	create_admin
	correct_routes
end