An ActiveRecord adapter for perimeter