Protect pojs projects from Rails