Sha256: ae6ba5ab2569d5616a4a1680b25d43b83001ec715be80aad643f17479e3cf3cb

Contents?: true

Size: 291 Bytes

Versions: 1

Compression:

Stored size: 291 Bytes

Contents

module Initial
  class DatabaseGenerator < Rails::Generators::Base
    source_root File.expand_path("../templates", __FILE__)

    def add
      copy_file 'database/database.yml', 'config/database.yml'
      copy_file 'database/database.yml', 'config/database.yml.example'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
teleporter-0.0.25 lib/generators/initial/database.rb