Since we're already asking the DB to retrieve an article, we can directly ask it to filter out published articles without checking at runtime. |
||
|---|---|---|
| .. | ||
| api_controller.rb | ||
| articles_controller.rb | ||
| comments_controller.rb | ||
| follows_controller.rb | ||
| github_repos_controller.rb | ||
| podcast_episodes_controller.rb | ||
| reactions_controller.rb | ||
| tags_controller.rb | ||
| users_controller.rb | ||