rails/rails — pull request #4713 by carlosantoniodasilva (2012-01-26 22:50:52+00:00)
Title: Do not generate label for attribute when giving nil

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.