Find next / previous ActiveRecord(s) in one query · HackerTrans