Sha256: 497a17b362d2fcff0cf3281a8a44236268416189a2e1fa9b803c8312c551d89e
Contents?: true
Size: 271 Bytes
Versions: 1
Compression:
Stored size: 271 Bytes
Contents
require 'pathname' root = Pathname(File.expand_path('../..', __FILE__)) version = Mongoid::VERSION.to_i current_config = root.join("config/mongoid.#{version}.yml").read config_file = root.join('config/mongoid.yml') config_file.open('w') {|c| c << current_config }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-mongoid-0.2.0 | test_app/config/_link_mongoid_config.rb |