Presenter: Jacob Swanner
Scopes are a great way of encapsulating query logic in a granular, reusable way. This talk will cover some techniques you can use to keep those scopes as composable and portable as possible. We’ll cover how to use Arel directly, while avoiding the common practice of using SQL fragments, and show you how this can make your scopes more reusable, while at the same time preventing you from using database vendor specific operators, such as ILIKE.
- This is a file generated from the RailsConf JSON. Please remove this notice when adding notes.
- If you're interested in the generator code, see the "generator" directory.
- This layout is just a suggestion.
- Bullet points might work well. Paragraphs too. Up to you. :)