plataformatec/simple_form — pull request #648 by marksim (2012-08-22 20:39:37+00:00)
Title: Override the attribute errors are gotten from.

Allows for passing an :error_attribute in case you want errors to show up that are 'filed' under a different method than the one passed to the input.

Ex:
= f.input :skill_token, as: :text, input_html: { class: 'chosen' }, error_attribute: :skill