https://github.com/printercu/bullet_example
https://github.com/printercu/bullet_example
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/printercu/bullet_example
- Owner: printercu
- Created: 2016-12-12T12:37:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-15T13:31:32.000Z (over 8 years ago)
- Last Synced: 2025-01-20T06:43:39.931Z (over 1 year ago)
- Language: Ruby
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample app for Bullet gem
## Setup
- Clone.
- `cd`
- `bin/setup` or `bin/update`
## Steps to reproduce
- `rails s`
- Open [http://localhost:3000/projects](http://localhost:3000/projects)
- See 2 warnings.
- Click links to see different warnings.
- Remove line with `.order` in `projects/index.html.erb` to see warnings disappear.
## Already fixed:
## Steps to reproduce
- `rails s`
- Open [http://localhost:3000/users/1](http://localhost:3000/users/1)
- See
```
user: max N+1 Query detected User => [:projects] Add to your finder: :includes => [:projects]
```
## License
MIT