Testing out rails repository