Depend on ActiveRecord, not all of Rails