commit rails 4 app with group and user