lib/upgrow/repository.rb in upgrow-0.0.2 vs lib/upgrow/repository.rb in upgrow-0.0.3
- old
+ new
@@ -1,6 +1,9 @@
# frozen_string_literal: true
+require_relative 'active_record_adapter'
+require_relative 'basic_repository'
+
module Upgrow
# Repositories are responsible for the persistence layer of the app. They
# encapsulate Rails’ Active Record in a subset of simple methods for querying
# and persistence of data, and return simple read-only objects as a result.
# This allows the app to isolate Active Record only to this subset, exposing