plataformatec/simple_form — pull request #1012 by laurocaetano (2014-03-31 21:51:00+00:00)
Title: Execute association conditions in object context.

Execute the given `condition` in the object context. Alternative implementation for #872.

Also extracted the `association` code responsible to build the attribute and fetch the conditions into private methods.

cc/ @rafaelfranca