rootstrap/blog

Arel talk

Opened this issue · 0 comments

TODO: PostTitleGoesHere

Motivation:

Doing code reviews I've seen many people do raw SQL queries on ActiveRecord, it seems like the existence of Arel is pretty much unknown. Using Arel could greatly improve code quality on any project that needs to query the DB in ways that ActiveRecord does not support out of the box.


📌 Notes:

Take a look at the comments that inspired this article and change them to use Arel. Shouldn't be too long


🔍 Keywords:

  • Rails
  • ActiveRecord
  • Arel
  • Query
  • Code Quality
  • Reusability