• Yet Another Post About Ruby Blocks

    If you have been programming in Ruby for awhile now, you have likely already used built-in methods such as #each, #select, and #map. Despite of what everyone says about Ruby magic, there’s nothing special with the way those methods work.
  • Yet Another Post About N + 1 Queries

    The N + 1 query problem is a common performance bottleneck found in queries that are written using an ORM (Object-Relational Mapping) tool, such as ActiveRecord.
  • Patrolling Your Code Base with RuboCop

    RuboCop is a code style enforcer (a.k.a linter) and code formatter based on the community-driven Ruby Style Guide.
  • A Simple TDD Example

    On this post we will build a calculator that adds two integers, where our development will be driven by the tests we write using RSpec as our test library.
  • What is Test-Drive Development (TDD)?

    TDD (Test Driven Development) is a software development process where your code is driven by tests. It follows the red-green refactor cycle, which has the following standards: