https://github.com/thoughtbot/active-record-recipes
A repository of common (and not so common) active record queries.
https://github.com/thoughtbot/active-record-recipes
Last synced: about 1 year ago
JSON representation
A repository of common (and not so common) active record queries.
- Host: GitHub
- URL: https://github.com/thoughtbot/active-record-recipes
- Owner: thoughtbot
- Created: 2022-03-11T22:05:22.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-06T15:55:01.000Z (about 4 years ago)
- Last Synced: 2024-05-09T08:03:05.533Z (about 2 years ago)
- Language: Ruby
- Size: 65.4 KB
- Stars: 50
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🧑🍳 Active Record Recipes
A repository of common (and not so common) active record queries.
- [Latest (or first) Recipe per Chef](.recipes/latest_or_first_recipe_per_chef.md)
- [Group Chefs by number of Recipes](.recipes/group_chefs_by_number_of_recipes.md)
- [Query Recipes by Action Text Body](.recipes/query_recipes_by_action_text_body.md)
- [Query for Recipe by Duration](.recipes/query_for_recipe_by_duration.md)
- [Query for Chefs by Recipe Duration](.recipes/query_for_chefs_by_recipe_duration.md)
- [Query for Recipe by Ingredient](.recipes/query_for_recipe_by_ingredient.md)
- [Query for Popular Ingredients](.recipes/query_for_popular_ingredients.md)
- [Query for Chefs by Recipe Ingredient](.recipes/query_for_chefs_with_by_recipe_ingredient.md)
- [Query for Recipe by Rating](.recipes/query-for-recipe-by-rating.md)
- [Query for Chef by Recipe by Rating](.recipes/query-for-chef-by-recipe-by-rating.md)
## 🙏 Contributing
Please make sure the following items pass while building your example.
```bash
bin/rails test
bundle exec standardrb
```
Once complete, add a markdown file to the [recipes](https://github.com/thoughtbot/active-record-recipes/tree/main/.recipes) directory.