magic rails method foo fixed