Rails: how to find record before last? December 18, 2023 by Tarik Another easier to remember way is: Model.last(2).first