Featured

4 Comments
Ruby

Rails: Dynamically Chain Scopes to Clean up SQL Queries

William Kennedy, 3 days ago
William Kennedy shows a technique to dynamically chain many ActiveRecord scopes together to clean up your controller code.
00:17:01
Ruby

Feature Tests with RSpec: Simulate User Behavior and Test Your Ruby App

Ilya Bodrov-Krukowski, Feb 09
Feature (or integration) tests are probably the most interesting type of all. In these tests, you are simulating users' behavior and...
Ruby

Tracking Common Rails Performance Issues with Skylight

Ilya Bodrov-Krukowski, 6 days ago
Ilya Bodrov-Krukowski runs through several common Rails performance problems, showing how to find them via Skylight, and how to fix them.
00:18:48
Ruby

Setting Up Automated Testing with RSpec

Ilya Bodrov-Krukowski, Nov 12
Automated testing is really widespread these days and of course Ruby has its own set of tools. One of these is RSpec, an insanely popular...
08:52
Ruby

Local Variable Scope in Ruby and How to Get Around It

Ilya Bodrov-Krukowski, Oct 13
Any serious Ruby developer has to understand what the scope is and how relates to variables. However, did you know that local variables...
2 Comments
Ruby

Continuous Deployment of Rails with SemaphoreCI

Sarmad Sabih, Sep 12
Sarmad Sabih walks you through every step of continuous deployment a Rails app to EC2 using Bitbucket, Capistrano, and SemaphoreCI.
00:11:50
Ruby

Discovering the Differences Between Blocks, Procs and Lambdas

Ilya Bodrov-Krukowski, Sep 23
Ruby developers love blocks and use them every day, however in many cases the blocks are executing immediately. What if you'd like to...
6 Comments
Ruby

Quick Tip: The Many Ways to Create a Hash in Ruby

Glenn Goodrich, Sep 08
Glenn Goodrich shows that, although there are many ways to create a Hash in Ruby, they are all just a bit of child's play.

Get the latest in Ruby, once a week, for free.

Latest

A Happy Macintosh

Get the latest in web dev, once a week. Free.