Skip to content

Commit d73222e

Browse files
Merge pull request #34 from carlosdanielpohlod/carlosdanielpohlod-patch-1
readme: Fix RAILS_TRACEPOINT_STACK_ENABLED on readme
2 parents ce097a5 + 847f69b commit d73222e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if you wanna enable it globally on your Rails app
2020

2121
Global use:
2222

23-
By using the global tracing, just configuring `RAILS_TRACEPOINT_STACK` as true, you can have a sample scenario and output as:
23+
By using the global tracing, just configuring `RAILS_TRACEPOINT_STACK_ENABLED` as true, you can have a sample scenario and output as:
2424

2525
```ruby
2626
module Foo
@@ -57,7 +57,7 @@ called: Foo#puts_message in COMPLETE_PATH_TO_YOUR_FILE/app/services/foo:METHOD_L
5757
```
5858
**Enabling Locally with .enable_trace**
5959

60-
You can also enable the tracer locally (even with `RAILS_TRACEPOINT_STACK` not defined) by passing a block of code to be traced:
60+
You can also enable the tracer locally (even with `RAILS_TRACEPOINT_STACK_ENABLED` not defined) by passing a block of code to be traced:
6161

6262
```ruby
6363
class Bar

0 commit comments

Comments
 (0)