Update lib/rails_admin/adapters/active_record.rb