minor syntax change in model for deprecated find:all