Skip to content

Commit

Permalink
Merge pull request rubocop#136 from vestimir/feature/yaml-config
Browse files Browse the repository at this point in the history
Add more info about YAML config files.
  • Loading branch information
bbatsov committed Mar 9, 2015
2 parents 1e9432a + c0bd5d9 commit 29af4d6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,16 @@ programming resources.
`production` one.
<sup>[[link](#staging-like-prod)]</sup>
* <a name="yaml-config"></a>
Keep any additional configuration in YAML files under the `config/` directory.
<sup>[[link](#yaml-config)]</sup>
Since Rails 4.2 YAML configuration files can be easily loaded with the new `config_for` method:
```Ruby
Rails::Application.config_for(:yaml_file)
```
## Routing
* <a name="member-collection-routes"></a>
Expand Down

0 comments on commit 29af4d6

Please sign in to comment.