rails/rails — pull request #4006 by devton (2011-12-16 19:19:15+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.