This is a barebones Rails application to serve as an example of how to configure the abraham gem.
bundle
yarn install
rails db:reset
rails s
Then open http://localhost:3000 in your browser. You'll see a web page with a tour.
- Because abraham needs a unique user ID to track those who have completed a tour,
ApplicationControllerdefines acurrent_usermethod that returns a structure with a staticidvalue. So, if you've completed the tour, but would like to test it again, runrails db:resetto clear what's been saved.