brushing up my rails skills. its been a while..