Frontendrails logo Front End Rails

ActionCable: The Missing Guide

ActionCable: The Missing Guide

Codeship Codeship 15 March 2017

Last updated:Wednesday, March 15, 2017ActionCable was introduced to Rails as of version 5. It allows you to create pub/sub WebSocket connections in your Rails application, which brings live updates to your user experience. ActionCable upgrades an HTTP connection between the server and client to a WebSocket. Some of the benefits of a WebSocket is that […]

How I Made $70,714.20 Self-Publishing a Book About Ruby on Rails

How I Made $70,714.20 Self-Publishing a Book About Ruby on Rails

Nate makes web apps Nate makes web apps 10 March 2017

Did I mention how awesome it is to live 30 minutes from a ski lift? In March of 2016, I launched a course called The Complete Guide to Rails Performance. Since then, I have sold just over 500 copies, for gross revenue of $70,714.20 ($1350/week). Although I launched the course in March, I had worked on it for about 4 months. Releasing the course has been a lifechanging event for me. For the first time ever, I made more money over a year from product revenue rather than service revenue. Releasing the course nearly doubled my usual freelancing rate, allowed me to change my lifestyle by moving to a ski resort town in New Mexico, and turned me into something of a minor Thought Leader (tm) in the Ruby on Rails field.

225: Capital-R Rubyist

225: Capital-R Rubyist

Ruby on Rails Podcast Ruby on Rails Podcast 10 March 2017

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

Principles of Effective Testing with Capybara

Codeship Codeship 09 March 2017

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

Chain RSpec Matchers for Improved Test Readability

Giant Robots Smashing into Other Giant Robots Giant Robots Smashing into Other Giant Robots 09 March 2017

Improve test readability by leveraging RSpec’s matcher composition to make multiple assertions with a single matcher.

Improved no results messages

Improved no results messages

Lugo Labs Lugo Labs 02 March 2017

Many times in index pages we need to show a message that there are no results to view. Usually as a results of a search, as in the example of Iconly. If you search for an icon on the top search bar, and no results our returned, the following message is shown.

Practical Rails 5 App In One Hour – Part 2

Practical Rails 5 App In One Hour – Part 2

Excel with Code Excel with Code 01 March 2017

I’ve already shown you the only five types of applications you’ll ever be tasked to build when you’re hired to create value as Ruby and Rails developer. You’ll choose a combination of these customer creation formulas to build an application that meets your business goals…

Generating application documentation in Rails 5

Generating application documentation in Rails 5

Everyday Rails Everyday Rails 01 March 2017

Support for generating an HTML version of application documentation in Rails 5 was removed. Here's how to add it back.

Slicing up Rails Application.js for Faster Load Times

Slicing up Rails Application.js for Faster Load Times

Giant Robots Smashing into Other Giant Robots Giant Robots Smashing into Other Giant Robots 27 February 2017

How to profile page load performance in Chrome and break out modular JavaScript assets.

224: Aren't We All Designers, Really?

224: Aren't We All Designers, Really?

Ruby on Rails Podcast Ruby on Rails Podcast 24 February 2017

This week I invite Brian Nelson, a friend who is a designer and developer, to talk about what it's like to use Rails as a designer, how he handle developers doing design, and talk about a few new fonts and editor tools.

Practical Rails 5 App In One Hour – Part 1

Practical Rails 5 App In One Hour – Part 1

Excel with Code Excel with Code 22 February 2017

There’s no better way to learn a new programming language, framework or skill than to apply what you’ve studied to practical projects. However, it can be difficult to find commercial projects you can work on to improve your Ruby on Rails skills.

Status report: Everyday Rails Testing with RSpec for RSpec 3.5 and Rails 5

Status report: Everyday Rails Testing with RSpec for RSpec 3.5 and Rails 5

Everyday Rails Everyday Rails 20 February 2017

A progress report on the latest version of my Rails testing book.

Using Bootstrap 4 with Ruby On Rails

Using Bootstrap 4 with Ruby On Rails

Lugo Labs Lugo Labs 15 February 2017

Bootstrap is at version 4 alpha 6 as we speak, so we'll add that to our Ruby on Rails application. It will provide us with the common style and JavaScript functionality, we have come to expect nowadays from the web applications. We have used it at our podcast player website, Lugano.io

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 ...
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?