ScaffoldLogic Generators
Rails 3 generator scripts for SEO Logic.
Install
Install the gem:
gem install scaffold_logic
Include it in your Gemfile.
gem "scaffold_logic"
Usage
To run the generator, go to your project directory and call the appropriate generator.
rails generate scaffold_logic:layout
rails generate scaffold_logic:scaffold Foo name:string
Included Generators
-
scaffold_logic:layout generates generic layout, stylesheet, and helper files.
-
scaffold_logic:scaffold generates a controller and optional model/migration.
To view the README for each generator, run it with the help
option.
rails generate scaffold_logic:scaffold --help