add feature: auto detect ActiveRecord and Mongoid when enable history