lib/vedeu/repositories/model.rb in vedeu-0.4.61 vs lib/vedeu/repositories/model.rb in vedeu-0.4.62

- old
+ new

@@ -38,10 +38,10 @@ # Fetch an instance of a repository's model by name. # # @param name [String] # @return [void] def by_name(name) - @repository.by_name(name) + repository.by_name(name) if repository end # Provide a convenient way to define the child or children of a model. # # @param klass [Class] The member (singular) or collection (multiple)