plataformatec/simple_form — pull request #807 by bradly (2013-05-25 19:46:55+00:00)
Title: Add support for when the condition of an association is a proc.

Currently if an association has a condition that is a proc, an obscure 'TypeError: Cannot visit Proc' error is thrown when the proc is passed to the where query method.

This is my first simple_form contribution, so please let me know if there is anything I can add or do differently to get my patch accepted :)