Sha256: d2710ba9381e4b840352a38fa3fc68e41945d12336f5398f803aaa2ce47b9a8e

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

require 'rails/generators/active_record'

module Backgroundrb
  module Generators
    class BdrbMigrationGenerator < ActiveRecord::Generators::Base
      def self.source_root
        @source_root ||= File.expand_path('../templates', __FILE__)
      end

      def copy_backgroundrb_migration
        migration_template "migration.rb", "db/migrate/create_backgroundrb_queue_table"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
backgroundrb-rails3-1.1.6 lib/generators/backgroundrb/bdrb_migration/bdrb_migration_generator.rb
backgroundrb-rails3-1.1.5 lib/generators/backgroundrb/bdrb_migration/bdrb_migration_generator.rb