Merged rails with frontend stuffs