Change syntax in user.rb model