added ability to use it with active admin 1.0