justinfrench/formtastic — Issue #768: pg adapter + integer field throw nil.* exception
Author: ancorcruz
Created: 2011-12-28 08:09:56+00:00
State: open

rails 3.1.3
pg 0.12.0
formtastic master branch

Every form with integer fields throw this exception:

> You have a nil object when you didn't expect it!
> You might have expected an instance of Array.
> The error occurred while evaluating nil.*
>
> 14: = f.input :age

These forms works well using formtastic 2.0.2 or master and mysql2 adapter.