Do not generate label for attribute when giving nil #4713

Merged
merged 1 commit into from Jan 27, 2012

2 participants

@carlosantoniodasilva
Ruby on Rails member

We've found this a while ago while fixing an issue in SimpleForm for a specific case. We had to fallback to use label_tag instead, because label was not handling this case.

@drogus drogus merged commit f1baf8f into rails:master Jan 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment