Relax ActiveRecord dependency