[OPF#1053] Feature/rails3 fix roles