Unit of Work Pattern to ActiveRecord