Sha256: cc2e34359522ece82499fbc2c925dd13ec56d0cf27a32c1faf8106ddf826e896
Contents?: true
Size: 455 Bytes
Versions: 4
Compression:
Stored size: 455 Bytes
Contents
require 'rails/generators' require 'rails/generators/migration' require 'rails3_assist' class MigrationGenerator < Rails::Generators::NamedBase include Rails3::Migration::Assist desc "Creates a migration" def self.source_root @source_root ||= File.expand_path("../templates", __FILE__) end def create_migration # info "Create migration: #{name} from template: 'create_users'" migration name, 'create_users' end end
Version data entries
4 entries across 4 versions & 1 rubygems