convert sinatra to rails