How to Use The Redis Database in Ruby

What is Redis? Redis is a kind of in-memory database that has different kinds of data structures you can use. Like: Key / value storage Lists Sets It has nothing to do with your typical SQL database, like Postgres. Uses for Redis include: Caching Leaderboards Counting visitors Fast autocomplete suggestions Keeping track of active user … Read more

An Overview of Data Structures For Ruby Developers

What is a data structure? A data structure is a specific way to organize & access data. Examples include: Arrays Binary trees Hashes Different data structures excel at different tasks. For example, hashes are great if you’re looking to store data that looks like a dictionary (word & definition), or a phone book (person name … Read more

The Ultimate Guide to Rails Rendering

What’s rendering in Rails? Rendering is the ultimate goal of your Ruby on Rails application. You render a view, usually .html.erb files, which contain a mix of HMTL & Ruby code. A view is what the user sees. It’s the result of all the work your Rails app has to do. Views combine logic, data … Read more