finished transition to rails app