Change the gem dependency from "rails" to "activerecord" for a smaller footprint for non-rails applications.