Allow_empty instead of allow_nil

Is trhere any way how to support allow empty? Rails prefer empty string
than null for database and then validations with allow_nil fails.

stuff wrote:

Is trhere any way how to support allow empty? Rails prefer empty string
than null for database and then validations with allow_nil fails.

This thread will probably help you:
http://www.ruby-forum.com/topic/53143#28733

Jeroen