lib/generators/manifest/install/install_generator.rb in manifest-rails-0.1.2 vs lib/generators/manifest/install/install_generator.rb in manifest-rails-0.1.3
- old
+ new
@@ -1,6 +1,10 @@
require 'rails/generators/active_record'
+# Creates templates and migrations for the initial Manifest install.
+# Example:
+# rails generate manifest:install Page
+# The "Page" argument is completely arbitrary.
class Manifest::InstallGenerator < ActiveRecord::Generators::Base
source_root File.expand_path('../templates', __FILE__)
def generate_create_pages_migration
migration_template 'create_pages.rb', 'db/migrate/create_pages.rb'