added the frame to the rails app