undefined method

i can't actually code