I got the @kryzhovnik commit and did a better implementation.
Related with #5614
Fixing issue #2492. ActionView::Base.field_error_proc doesn't call fo…
objectify_options method should be applied to the proper options arg.
See explanation and example of the bug - https://github.com/kryzhovnik/rails_field_error_proc_bug_example
Check if the options hash already exists and merge it with the another
Closes #2492 and #5614
Merge pull request #5622 from rafaelfranca/fix-2492-3-2
[3-2-stable] Fix label_tag to merge the options hash with the object hash
@rafaelfranca thanks for editing my commit.
@jeremy thanks for merge.