Frontendrails logo Front End Rails

Your software just isn’t mission critical

Your software just isn’t mission critical

Signal v Noise Signal v Noise 15 February 2017

Programmers love to invoke the vocabulary of importance. We don’t just have guidelines, no, we have fucking LAW OF DEMETER. Good and bad ideas alike are dressed in big words so we can all seem oh so…

Validation, Database Constraint, or Both?

Validation, Database Constraint, or Both?

Giant Robots Smashing into Other Giant Robots Giant Robots Smashing into Other Giant Robots 15 February 2017

What happens when we stop using validations for data integrity and instead use them for user interface?

Class attributes and ActiveSupport

Class attributes and ActiveSupport

Kir Shatrov Kir Shatrov 15 February 2017

It’s not uncommon case to provide a class-level accessors for some kind of configuration. How do you implement them? You can start with the vanilla Ruby implementation ...
Swipe Right for Innovation

Swipe Right for Innovation

Pivotal Labs Pivotal Labs 14 February 2017

UX + CRO = PROFIT: How to Use Your UX Skills to Improve Conversion Rates (Part Two)

UX + CRO = PROFIT: How to Use Your UX Skills to Improve Conversion Rates (Part Two)

Viget Viget 14 February 2017

Previously on UX + CRO = PROFIT… We provided an overview of Conversion Rate Optimization (CRO) and introduced a framework to help you run your own CRO experiments. If you haven’t read part one yet, go read that first before starting part two. Don’t worry. We won’t start without you.

Testing Ruby's Unicode Support

Testing Ruby's Unicode Support

Honeybadger Honeybadger 14 February 2017

To see how far Ruby's Unicode support has come, I tested every string method to see which ones violate the principle of least surprise. The results are presented as a handy table that you can reference to see which string manipulation methods are Unicode-unfriendly.

Our Retrospectives and Kickoffs are Now Public

Our Retrospectives and Kickoffs are Now Public

GitLab GitLab 14 February 2017

GitLab's release retrospectives and kickoffs are now open to our community!

Form and Space on the Web

Form and Space on the Web

Giant Robots Smashing into Other Giant Robots Giant Robots Smashing into Other Giant Robots 14 February 2017

We occupy three-dimensional space. Sometimes it’s fun, sometimes it’s dangerous, but that is where we live and it influences how our brains are accustomed to interacting with the world.

Do responsive sites have to be so tall on mobile?

Do responsive sites have to be so tall on mobile?

Viget Viget 13 February 2017

When designing responsive sites, we tend to focus a lot on keeping content nicely formatted within all the various screen widths in the world today. This makes sense given that horizontal scrolling is not particularly user-friendly, so constraining the design to the browser's viewport width is generally a given.

How to test a React app using capybara-webkit

How to test a React app using capybara-webkit

Ombulabs Ombulabs 13 February 2017

I have been using the capybara-webkit gem for a while now since I first tried it out after making the switch from Capybara + Selenium. Using capybara-webkit speeds up my Selenium tests due to its headless nature, and it's very straightforward. However, I had some trouble testing a Rails based React app. In this post, I will explain how I worked around the issues that came up when trying to use capybara-webkit with React.

TIL: Find the size of a response body using curl

TIL: Find the size of a response body using curl

Bloc Bloc 10 February 2017

Today I needed to inspect how large the body of one of our API end points was. My initial idea was to do this:

An Introduction to Thinking About Animation on the Web

An Introduction to Thinking About Animation on the Web

Viget Viget 10 February 2017

Movement is everywhere around us, and sometimes we forget it as a form of communication. From body language to the way gravity works — movement can tell us a person's emotions and what actions are about to occur. 

223: Two and a Half ORMs

223: Two and a Half ORMs

Ruby on Rails Podcast Ruby on Rails Podcast 10 February 2017

We're back! This week I introduce Joel Oliveira, one of my new recurring co-hosts. We learn a little about Joel, how we met, his side project Shubox, what it's really like using Rails 5, and a bit about ORMs.

Block Web Crawlers with Rails

Block Web Crawlers with Rails

Giant Robots Smashing into Other Giant Robots Giant Robots Smashing into Other Giant Robots 10 February 2017

Search engines “crawl” and “index” web content through programs called robots (a.k.a. crawlers or spiders). Here are some approaches to blocking them in Ruby on Rails apps.

Investment Time

Investment Time

Giant Robots Smashing into Other Giant Robots Giant Robots Smashing into Other Giant Robots 10 February 2017

Since 2010, we have dedicated Friday every week to “investment time”, unstructured self-directed time undedicated to client work. Here’s how it works and what we’ve learned.