Support rails 4.1

Rails 4.1 doesn't pass a `proc` anymore.

https://github.com/rails/rails/blob/master/actionview/lib/action_view/helpers/form_helper.rb#L1246-L1259
:speech_balloon: was causing stack overflow