So that’s what RESTful means

Ruby/Rails day 6 plus the Binary Search Tree algorithm

Leibel Hecht
Jul 10, 2017 · 2 min read
resting

I’ve literally googled “what is a RESTful API” tens of times, but for some reason, none of the very tech lingo heavy definitions stuck. Today while learning rails it became clear: RESTful routing (or a RESTful API etc) is simply a convention used by programmers to keep their API routes universal. That might be an oversimplification, but I don’t think it’s that far off. The routes stick to the basic CRUD (create, read/retrieve, update, destroy) routes. In rails, using RESTful routes is basically a necessity, because rails does so much of the work work for you. Anyway, that’s my tidbit for today.


Rails has some really “magical” commands, and that obviously has some pros and cons. The important thing here is, that (especially) for a new programmer, it’s really vital to understand what’s going on under the hood. The coding dojo platform does a really good job of breaking it down.

A couple of the super “magical” commands are:

  • Scaffolding which basically creates a complete CRUD app based on a given model.
  • Recourses. It’s slightly less magical than scaffolding but it’s still creates all of the CRUD routes in one command.

Binary Search Tree

In algorithms today, we went through the Binary Search Tree algorithm using nodes and the ES6 Class and Constructor keywords. We first went through a BST and printed every value and then went on to actually searching it. Maybe I’ll type up the code if I have some time.

That’s it for now. As always, happy coding!


I am looking for an opportunity to join and contribute to a tech team, and I’d love to chat. I’m on Twitter, LinkedIn, Medium, Github or plain old email @ leibelhecht@gmail.com. My Portfolio is at leibelhecht.com

My Coding Journey

Follow my coding journey and my experience at Coding Dojo in Chicago

Leibel Hecht

Written by

I’m Leibel. I’m transitioning from Talmud to Tech. Maybe someday I’ll be the Rabbi on Rails :)

My Coding Journey

Follow my coding journey and my experience at Coding Dojo in Chicago

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade