a few rails examples