Sha256: 92b2529196dfcb747d516fbb9fb69c5619860532b75ca5186d50c41bd9723975
Contents?: true
Size: 426 Bytes
Versions: 16
Compression:
Stored size: 426 Bytes
Contents
require 'rails/generators/couchrest_model' module CouchrestModel module Generators class ConfigGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def app_name Rails::Application.subclasses.first.parent.to_s.underscore end def copy_configuration_file template 'couchdb.yml', File.join('config', "couchdb.yml") end end end end
Version data entries
16 entries across 16 versions & 2 rubygems