Module: Split::CounterHelper
- Included in:
- Helper
- Defined in:
- lib/split/counters.rb
Instance Method Summary collapse
Instance Method Details
#ab_counter_inc(counter_name, experiment, alternative) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/split/counters.rb', line 5 def ab_counter_inc(counter_name, experiment, alternative) begin Split::Counters.inc(counter_name, experiment, alternative) rescue => e raise(e) unless Split.configuration.db_failover end end |