lib/rom/repository.rb in rom-repository-2.0.0.beta2 vs lib/rom/repository.rb in rom-repository-2.0.0.beta3

- old
+ new

@@ -5,11 +5,11 @@ require 'rom/repository/session' module ROM # Abstract repository class to inherit from # - # A repository provides access to composable relations, commands and changesets. + # A repository provides access to composable relations and commands. # Its job is to provide application-specific data that is already materialized, so that # relations don't leak into your application layer. # # Typically, you're going to work with Repository::Root that is configured to # use a single relation as its root, and compose aggregates and use changesets and commands @@ -34,11 +34,9 @@ # end # end # end # # class UserRepo < ROM::Repository[:users] - # relations :tasks - # # def users_with_tasks # aggregate(:tasks).to_a # end # end #