https://github.com/actmd/abraham-example
An example Rails app using the abraham gem
https://github.com/actmd/abraham-example
Last synced: about 1 year ago
JSON representation
An example Rails app using the abraham gem
- Host: GitHub
- URL: https://github.com/actmd/abraham-example
- Owner: actmd
- Created: 2019-09-06T13:12:37.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T14:42:40.000Z (over 3 years ago)
- Last Synced: 2025-03-26T11:16:52.335Z (about 1 year ago)
- Language: Ruby
- Size: 49.8 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# abraham-example
This is a barebones Rails application to serve as an example of
how to configure the [abraham](https://github.com/actmd/abraham) gem.
```
bundle
yarn install
rails db:reset
rails s
```
Then open [http://localhost:3000](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.