sferik/rails_admin — pull request #899 by sauliusg (2011-12-29 11:17:02+00:00)
Title: Ignore unrecognized columns

Hello,

I've tried to run rails_admin on an app that has Postgres hstore column in one of the models. That column is obviously not mapped to any known type by ActiveRecord and therefore its type is set to nil. In the line that I modified rails_admin calls :to_sym on a nil value and breaks on startup. I think it's for the best to skip columns that have unknown types.

P.S. Couldn't find a spec for the unit. Is it needed?