sferik/rails_admin — Issue #795: Errror when accesssing the dashboard 
Author: rickyah
Created: 2011-10-24 15:19:00+00:00
State: open

Running PostgreSQL, I'm getting the following error just after login:

```ActiveRecord::StatementInvalid in RailsAdmin::MainController#dashboard
PGError: ERROR: relation "admin_users" does not exist
LINE 4: WHERE a.attrelid = '"admin_users"'::regclass
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"admin_users"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
```
Fresh installation, and bundle updated.

Any ideas? Thanks in advance