https://github.com/amcaplan/passive_record
https://github.com/amcaplan/passive_record
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/amcaplan/passive_record
- Owner: amcaplan
- Created: 2020-07-01T07:50:53.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2020-07-02T09:07:09.000Z (about 6 years ago)
- Last Synced: 2025-10-28T15:35:49.251Z (9 months ago)
- Language: Ruby
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The Passive Record Challenge
The challenge is simple:
1. Clone the repository on the `main` branch
1. From the project's root directory, run:
```sh
$ rspec --fail-fast
```
1. Add code to [`passive_record.rb`](https://github.com/amcaplan/passive_record/blob/main/passive_record.rb) to make the tests pass
1. Run with the `DEBUG` flag to see what reaches the database:
```sh
$ DEBUG=true rspec --fail-fast
```
1. Stuck? Check the [`solution`](https://github.com/amcaplan/passive_record/tree/solution) branch for one potential solution
Good luck!