# Ruby Ranges: How Do They Work?

**URL:** <https://rubytalk.org/t/ruby-ranges-how-do-they-work/73673>\
**Category:** ruby-talk\
**Created:** [17 June 2016 16:29 UTC](https://rubytalk.org/t/ruby-ranges-how-do-they-work/73673 "2016-06-17T16:29:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jesus\_Castello](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@Jesus\_Castello](https://rubytalk.org/u/Jesus_Castello)\
**Post date:** [17 June 2016 16:29 UTC](https://rubytalk.org/t/ruby-ranges-how-do-they-work/73673/1 "2016-06-17T16:29:42Z")

</div>

Hey,

I wrote a blog post about Ruby ranges, if you want to learn how they work  
this will be a great read for you 🙂

\*You can find it here\*:

> **[Ruby Ranges: How Do They Work?](http://www.rubyguides.com/2016/06/ruby-ranges-how-do-they-work/)**
>
> Have you ever wondered how ranges work in Ruby? Even if you haven't, isn't it fun to discover how things work under the hood? That's exactly what I'm going to show you in this post! Understanding Ranges Just as

Thank you,  
Jesus Castello

---

<div class="post-metadata">

**Author:** ![SAURAV\_KOTHARI](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/saurav_kothari/32/1919_2.png) [@SAURAV\_KOTHARI](https://rubytalk.org/u/SAURAV_KOTHARI)\
**Post date:** [17 June 2016 16:40 UTC](https://rubytalk.org/t/ruby-ranges-how-do-they-work/73673/2 "2016-06-17T16:40:59Z")

</div>

There seems to be an issue with the link you have shared.  
I keep getting: \*Error establishing a database connection\*

Saurav Kothari

---

<div class="post-metadata">

**Author:** ![Tim\_Kachele](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Tim\_Kachele](https://rubytalk.org/u/Tim_Kachele)\
**Post date:** [17 June 2016 17:09 UTC](https://rubytalk.org/t/ruby-ranges-how-do-they-work/73673/3 "2016-06-17T17:09:45Z")

</div>

I had the same problem. But I found the correct link, here it is [Ruby Ranges: How Do They Work?](http://www.blackbytes.info/2016/06/ruby-ranges-how-do-they-work/)

Greetings,  
Tim

> **···**
>
> > Am 17.06.2016 um 18:40 schrieb Saurav Kothari \<sauravkothari2@gmail.com\>:
> > 
> > There seems to be an issue with the link you have shared.  
> > I keep getting: Error establishing a database connection
> > 
> > Saurav Kothari
> > 
> > Unsubscribe: \<mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe\>  
> > \<[http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt](http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt);
