Skip to content

wdspkr/ruby-repository-pattern-activerecord-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a demo repository to show an implementation of the Repository design pattern with Activerecord

To run the specs do the following:

$ bundle install
$ bundle exec rspec spec

If you are interested in how this can be integrated with Factory Bot check the spec/interest_factory.rb file.

To play around with the code just fire up an interactive ruby session like this:

$ bundle exec pry

and in the pry session and require the app code like this:

require_relative 'load_app'

Enjoy exploring!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages