File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ group :development, :test do
158
158
gem 'launchy'
159
159
gem 'letter_opener' , github : 'alexrothenberg/letter_opener' , branch : 'on_a_server'
160
160
gem 'pry-byebug'
161
+ gem 'pry-rescue'
161
162
gem 'quiet_assets'
162
163
gem 'syntax'
163
164
gem 'annotate'
Original file line number Diff line number Diff line change 326
326
httpauth (0.2.1 )
327
327
i18n (0.6.11 )
328
328
inflecto (0.0.2 )
329
+ interception (0.5 )
329
330
ipaddress (0.8.0 )
330
331
jbuilder (2.1.3 )
331
332
activesupport (>= 3.0.0 , < 5 )
469
470
pry-remote (0.1.8 )
470
471
pry (~> 0.9 )
471
472
slop (~> 3.0 )
473
+ pry-rescue (1.4.1 )
474
+ interception (>= 0.5 )
475
+ pry
472
476
pry-stack_explorer (0.4.9.1 )
473
477
binding_of_caller (>= 0.7 )
474
478
pry (>= 0.9.11 )
@@ -789,6 +793,7 @@ DEPENDENCIES
789
793
omniauth-twitter (~> 0.0.16 )
790
794
pg
791
795
pry-byebug
796
+ pry-rescue
792
797
pubnub (= 0.1.9 )
793
798
puma
794
799
querystring
Original file line number Diff line number Diff line change @@ -149,8 +149,10 @@ def self.create_protip_for(user)
149
149
paboi . save!
150
150
151
151
unless Rails . env . staging? || Rails . env . production?
152
- Network . rebuild_index
152
+ # Network.rebuild_index
153
153
Opportunity . rebuild_index
154
154
Protip . rebuild_index
155
- Team . rebuild_index
155
+
156
+ #Team.rebuild_index #TODO: Disabled until switched from mongo
157
+ Team . all . each { |team | team . tire . update_index }
156
158
end
You can’t perform that action at this time.
0 commit comments