---
title: "Discussion on \"Ruby's range literals and their effect on Rails Active Record queries\" | Hashnode"
description: "Discussion on \"Ruby's range literals and their effect on Rails Active Record queries\". Learn about the difference between inclusive and exclusive end ranges and the SQL queries each choice produces"
url: "https://hashnode.com/posts/rubys-range-literals-and-their-effect-on-rails-active-record-queries/649c000a4fc69efb32394a88"
---

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

Discussion

# [Ruby's range literals and their effect on Rails Active Record queries](https://codeandgit.hashnode.dev/rubys-range-literals-and-their-effect-on-rails-active-record-queries?utm_source=hashnode&utm_medium=feed)

Learn about the difference between inclusive and exclusive end ranges and the SQL queries each choice produces

Jun 28, 2023 · 3 min read · codeandgit.hashnode.dev  
Read the article

-   [#ruby](https://hashnode.com/tag/ruby)
-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#active-record](https://hashnode.com/tag/active-record)

## Written by

[Lucian Ghinda](https://hashnode.com/@lucianghinda)

@lucianghinda · Europe

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

Senior Product Engineer

Senior Product Engineer, working in Ruby and Rails. Passionate about idea generation, creativity, and programming. I curate the Short Ruby Newsletter.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
