sferik/rails_admin — pull request #1960 by swalkinshaw (2014-04-10 18:17:26+00:00)
Title: Fix disabling of array column type in AR adapter

Previously column types that matched `_array` were disabled as a Postgres specific workaround. ActiveRecord stopped using those column type names though.

Now a text array, for example, has column type of `text` and the `array` boolean attribute set to `true`. Instead of using the `DISABLED_COLUMN_MATCHERS`, we're now checking the `array` attribute.

Here's an example of a model's array column:

```
#>,
@precision=nil,
@primary=false,
@scale=nil,
@sql_type="text",
@type=:text>
```

You can see `@array=true` and `@type=:text`.

I know this has previously been brought up (#1919, #1222, etc) which you've dismissed because you don't want RDBMS specific features, but this code is already in rails_admin it just doesn't work.