ActiveRecord stuff is below the line. It does not go in here. Inject the repository into the interactor and the repository is a duck type. The in-memory repository just allows convenient testing of the gem.