Do not call methods on .last

Prevent ActiveRecord deprecation notice