intermediate rails app