Fixing .erb deprecated variable warnings