#137 - Rails4 uses error[] instead of errors.on(), hence making ConfigErrors a HashMap so it works with new rails