Skip to content

Commit

Permalink
migration_guide: mention the effect of root_directory option
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrylo committed Jan 27, 2016
1 parent b1e6909 commit 2b78514
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/Migration_guide_from_v4_to_v5.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ test_mode | removed | n/a
# OR to collect exceptions in all envs

c.development_environments = []

# OR don't set this option to get the default (development, test, cucumber)
end

Expand All @@ -136,9 +136,9 @@ test_mode | removed | n/a
# OR to collection exceptions in all envs

# Simply don't set this option

# OR use the old default value

c.ignore_environments = %w(development test cucumber)
end
```
Expand Down Expand Up @@ -250,6 +250,10 @@ test_mode | removed | n/a
The `project_root` option was renamed to `root_directory`.
<sup>[[link](#project-root)]</sup>

NOTE: you *must* set this if you want Airbrake backtraces to link to
GitHub. In Rails projects this value should typically be equal to
`Rails.root`.

```ruby
# Old way
Airbrake.configure do |c|
Expand Down

0 comments on commit 2b78514

Please sign in to comment.