learning new things about rails