Single value support for rails