init check in of rails app