3.1.6 incompatible with active_record 5.2.4.1
bjones opened this issue · 1 comments
bjones commented
It appears activerecord 5.2.3 through 5.2.4.1 has changed the API signature of select_for_count such that will_paginate's modifications to that private detail are broken.
wrong number of arguments (given 0, expected 1)
backtrace:
will_paginate-3.1.6/lib/will_paginate/active_record.rb:140:in select_for_count' activerecord-5.2.4.1/lib/active_record/relation/calculations.rb:226:in
perform_calculation'