a test of rails to create apis and cms