Used a rails 4ism