README.md in config_default-0.2.0 vs README.md in config_default-0.2.1
- old
+ new
@@ -31,9 +31,17 @@
config.config_path = "./config"
config.postfix = "default"
end
```
+If you want to implement Rails monkey patches for `Rails.application.config_for` and ability to
+separate `database.yml` file you need to apply `#init_rails_monkey_patch!` method in your
+`application.yml` file before application initialization.
+
+```ruby
+ ConfigDefault.init_rails_monkey_patch!
+```
+
## Usage
### Default behaviour
First you need to separate you configuration to default and not.