Alexander Hanhikoski

Results 5 issues of Alexander Hanhikoski

The default replication mode with octopus is to send all writes queries to master, and read queries to slaves. However, in our case, we would want to stick to the...

``` ruby state_machine do state :unpaid state :paid, :enter => lambda { |tx| puts "callback fired!" } state :relayed state :cancelled state :refunded event :pay, timestamp: 'paid_at' do transitions to:...

feature

`CohortMe.analyze(period: 'months', activation_class: Transfer.unscoped)` results in this query ``` SELECT DISTINCT transfers.user_id, transfers.created_at, cohort_date, FLOOR(extract(epoch from (transfers.created_at - cohort_date))/2592000) as periods_out FROM "transfers" JOIN (SELECT transfers.user_id, MIN(transfers.created_at) as cohort_date FROM...

Seems like nil values should be avoided for the position column to avoid problems with ranked_model. (IMHO This should be mentioned in docs!) Would this be the recommended practice assuming...

Does ranked-model support something like move_higher and move_lower like the acts_as_list gem does?

new feature