Sha256: f21a932106e840a5de76dfd5c379771edcbe42aa8fd414af544a1bb0ac189073

Contents?: true

Size: 520 Bytes

Versions: 2

Compression:

Stored size: 520 Bytes

Contents

require 'rails/generators/active_record'
require 'rails/generators/migration'

module PolicyManager
  module Generators
    class PaperclipGenerator < Rails::Generators::Base
      
      #self.class.include Rails::Generators::Migration

      #desc "Installs mygem and generates the necessary migrations"
      #source_root File.expand_path("../templates", __FILE__)

      #def create_migrations
      #  migration_template 'migrations/paperclip_fields.rb', "db/migrate/add_foo_to_bar.rb"
      #end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gdpr_rails-0.5.1 lib/generators/policy_manager/paperclip_generator.rb
gdpr_rails-0.5.0 lib/generators/policy_manager/paperclip_generator.rb