Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat input as :string if attached
column.type
is empty
`#column_for` can return `ActiveRecord::ConnectionAdapters::NullColumn`. `column.type` will be `nil` then. This fix makes the InputHelper#default_input_type recognize such column as string by default, just as the whole `column` would be `nil`. Fixes the `Unable to find input class Input` error (formtastic#1183).
- Loading branch information