Skip to content

Commit ab8b499

Browse files
author
Joselito Tapangan
committed
Improve the fixes for the authorize issue when it is integrated to rails.
1 parent 7556e8c commit ab8b499

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ After you install stackify-api-ruby you need to run the generator:
3636

3737
The generator creates a file 'config/initializers/stackify.rb' configuring stackify-api-ruby with your API key. You can change default settings there.
3838

39-
In your 'config/initializers/stackify.rb' insert a this line of snippet 'Stackify::EnvDetails.instance.set_rails_info'
40-
4139
### Non-Rails
4240

4341
For using stackify-api-ruby gem within any Ruby application add to top of your main file:

lib/stackify-api-ruby.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def configuration
4444
def setup
4545
@workers = []
4646
yield(configuration) if block_given?
47+
Stackify::EnvDetails.instance.set_rails_info
4748
if configuration.is_valid?
4849
@status = STATUSES[:working]
4950
else

0 commit comments

Comments
 (0)