Sha256: 9a1234d273c05162ec638fbff3183a4b1b93ae26d0f159e804f45334966d7efb
Contents?: true
Size: 496 Bytes
Versions: 1
Compression:
Stored size: 496 Bytes
Contents
require 'rails/generators' require 'rails/generators/migration' module Pose module Generators class RemoveGenerator < Rails::Generators::Base include Rails::Generators::Migration source_root File.expand_path('../templates', __FILE__) def create_migration_file migration_template 'remove_migration.rb', 'db/migrate/remove_pose.rb' end def self.next_migration_number(path) Time.now.utc.strftime("%Y%m%d%H%M%S") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pose-1.2.4 | lib/rails/generators/pose/remove_pose_generator.rb |