actmd / abraham-example

An example Rails app using the abraham gem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

abraham-example

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.

Notes

  • Because abraham needs a unique user ID to track those who have completed a tour, ApplicationController defines a current_user method that returns a structure with a static id value. So, if you've completed the tour, but would like to test it again, run rails db:reset to clear what's been saved.

About

An example Rails app using the abraham gem


Languages

Language:Ruby 78.5%Language:HTML 19.4%Language:CSS 1.4%Language:JavaScript 0.7%