rails/rails — pull request #4005 by devton (2011-12-16 18:36:56+00:00)
Title: Fixed bug when error message is an empty string.

This commit fixes a bug when i have a validation with an empty message like:
validates_presence_of(:name, :message => "")

In this case rails was not validating correctly the model.