apotonick/reform — pull request #177 by zavan (2014-12-04 04:28:35+00:00)
Title: Delegate reflect_on_association to the model class to support simple_form's association input

This fixes #122

Since simple_form relies on `Model.reflect_on_association` to discover model associations when using the association input
(see https://github.com/plataformatec/simple_form/blob/ed3de1c2b566a962697529e824953f6b280e2867/lib/simple_form/form_builder.rb#L550)
we need to delegate this method from the form class to the model class.

Thanks to @smartygus for spotting this and providing an initial solution for this.