It doesn't really depend on full rails gem, only railties

It allows an application not using ActiveRecord for instance not to be
forced to download it.