225: Capital-R Rubyist etc.
March 16, 2017
225: Capital-R Rubyist
This week Joel returns to join Kyle with talk of RailsConf 2017, Lin-Manuel Miranda, and what it's like to be a lower-case Rubyist.
Principles of Effective Testing with Capybara
Last updated:Thursday, March 9, 2017Currently the world of integration testing is overwhelmed with complexity. Industry standards require adding more layers of abstraction with tools like Cucumber, SitePrism, and others, and as a result it becomes more difficult and tedious for a developer to write a simple test. But as any other part of the codebase, […]
Chain RSpec Matchers for Improved Test Readability
Improve test readability by leveraging RSpec’s matcher composition to make multiple assertions with a single matcher.
What six weeks of work looks like
A few months ago I wrote up a post sharing the details of how we structure our teams and work in six week cycles at Basecamp. It turned out to be very popular article. Here’s what our core product…
Prototypes in Ruby and the strange story of dup
Today I was working on a feature where I had to create a few similar Active Record objects. I was creating a read model for some financial data. Most of the attributes of created objects were the same but a few were different. In one refactoring step I removed the duplication in passing attributes by using a prototype. Although at that moment I haven't thought of the object in such way.
Invite Your Engineers To Talk Business. Here's Why.
Traditionally, engineers may have been shielded from the "business parts" of the organization. In today's technology landscape, that's no longer a viable option.
Typography
An overview of typography as a element of design for the web.
IO#readlines now accepts chomp flag as an argument
IO methods now have an optional chomp flag to remove newline return characters
How to Make Your Classes More Powerful by Implementing Equality
How do you compare two things in Ruby? Using == as you already know… but did you know that == is a method & not just syntax? You can implement this method in your own classes to make them more powerful. And that’s what I want to talk about in this post. Equality Basics As […]
Unicode Normalization in Ruby
If you want Ruby's string methods to play nicely with Unicode, it's a good idea to normalize them. This article is a brief introduction to Unicode normalization for Rubyists.