fixed PG

fixed https://github.com/sferik/rails_admin/issues/2102