Swap rails dependency with activerecord

We are using this gem without rails. I don't see any reason why `rails` is listed as a dependency for this gem. It seems to work just fine with only `activerecord`.