model.last method added just like ActiveRecord