added code to not try to constantize 'Base' as it was causing problems with active_admin