---
title: "Discussion on \"How to Build OR Queries With Active Record\" | Hashnode"
description: "Discussion on \"How to Build OR Queries With Active Record\". There are a couple of ways to recreate the SQL OR operator with Ruby on Rails and Active Record.\nHere's how.\nChecking a Single Column For Multiple Values\nFirst, if you want to pull records where a certain column can be multiple values you won't need ..."
url: "https://hashnode.com/posts/how-to-build-or-queries-with-active-record/617c05db71eb90577c641a07"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Build OR Queries With Active Record](https://testsuite.hashnode.dev/how-to-build-or-queries-with-active-record?utm_source=hashnode&utm_medium=feed)

There are a couple of ways to recreate the SQL OR operator with Ruby on Rails and Active Record. Here's how. Checking a Single Column For Multiple Values First, if you want to pull records where a certain column can be multiple values you won't need ...

Oct 29, 2021 · 3 min read · testsuite.hashnode.dev  
Read the article

-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#rails](https://hashnode.com/tag/rails)
-   [#ruby](https://hashnode.com/tag/ruby)
-   [#sql](https://hashnode.com/tag/sql)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Nicholas Dill](https://hashnode.com/@wealthdev)

@wealthdev

  
[View profile](https://hashnode.com/@wealthdev)

Senior Software Engineer ⚡️ Building https://testsuite.io

Writing about building startups, starting side projects, and making money as a developer. Currently building https://testsuite.io

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
