basic Rails integration