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 […]

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, […]

Test-Driven Development for JavaScript

Test-Driven Development for JavaScript

Codeship Codeship 28 February 2017

Last updated:Tuesday, February 28, 2017JavaScript is handsdown the strangest language I’ve ever had to test. Its also one of the most popular ones out there right now. The influx of JavaScript developers tells us that a lot of modern-day web development is starting to focus more and more on the frontend. This trend is interesting […]

Simplifying Your Transition from Macro to Microservices

Simplifying Your Transition from Macro to Microservices

Codeship Codeship 23 February 2017

This is the first part in my series of articles in moving from macro to microservices. Here, I’ll present first the reasoning as to why a developer or manager would make such a move. Later posts in the series will provide code examples and procedures for building your own solution and, finally, creating your whole […]

Creating Powerful Command Line Tools in Ruby

Creating Powerful Command Line Tools in Ruby

Codeship Codeship 22 February 2017

When it comes to software development, a majority of the tools available to us are command-line applications. It is also well worth noting that many of the tools used on the command line are quite powerful in what they can accomplish, from the trivial to the tedious. Taking this further, you can combine command-line applications […]

Working with the Evernote API in Rails

Working with the Evernote API in Rails

Codeship Codeship 01 February 2017

Many people find Evernote to be an invaluable tool for organizing their life. The Evernote API provides has some really great features to take advantage of, including document download and OCR (optical character recognition). Whichever features you choose to investigate, be sure to read their terms of service so that you are within the guidelines […]

Automating Screenshots in Documentation

Automating Screenshots in Documentation

Codeship Codeship 31 January 2017

Drawing my short series to a close (we’ve talked about testing code examples in documentation and automating spelling and grammar checks in documentation), let’s cover one of the hardest elements of documentation to create and keep up to date: screenshots. If you have an application with an interface, then screenshots are a great way to […]

Comparing Elixir and Go

Comparing Elixir and Go

Codeship Codeship 26 January 2017

Elixir and Go have both grown significantly in popularity over the past few years, and both are often reached for by developers looking for high concurrency solutions. The two languages follow many similar principles, but both have made some core tradeoffs that affect their potential use cases. Let’s compare the two by taking a look […]

Dockerizing Ruby Applications and Effectively Testing Them

Dockerizing Ruby Applications and Effectively Testing Them

Codeship Codeship 24 January 2017

Docker is an incredibly popular tool for virtualizing development and production environments. Its value lies in the idea that it creates portable, scalable environments that anyone can scaffold within minutes. However, a consequence of virtualizing environments is that we have to take a different approach to testing them. How do we effectively test Docker applications? […]

Up and Running with Vue.js

Up and Running with Vue.js

Codeship Codeship 18 January 2017

You don’t need another JavaScript framework. You’ve got one you’re using. Hopefully you’re happy with it. You just read eight other articles about other awesome, shiny, new, amazing, fabulous frameworks with astounding new features that will change your very existence into something incredible. Right? I did. Vue.js is (like many other frameworks) worthy of all […]

Deploying Docker Images to Amazon EC2 Container Service with Codeship

Deploying Docker Images to Amazon EC2 Container Service with Codeship

Codeship Codeship 12 January 2017

In the first post of this series, we discussed how to set up continuous deployment to AWS for your Docker apps using Codeship. We’ll continue with a quick tutorial on deploying new Docker images to Amazon’s EC2 Container Service. Over the past few years, the use of container technology like Docker has grown dramatically within […]

When And How to Give New Tech a Try

When And How to Give New Tech a Try

Codeship Codeship 10 January 2017

At the start of each new year, after the festive season and the time catching up with friends and family, we likely have more free time than we do throughout the rest of the year. And if you and I are anything alike, this means that you have the opportunity to indulge in your passion […]

Writing a Rails Feature – Blow by Blow

Writing a Rails Feature – Blow by Blow

Codeship Codeship 14 December 2016

This article was originally published by Richard Schneeman on his personal site. With his kind permission, we’re sharing it here for Codeship readers. My favorite part of seeing someone live code is all the mistakes they make, but not because I’m a mean awful person who likes to see others fail. Watching others recover from […]

Replacing Sinatra with Rack in Sidekiq

Replacing Sinatra with Rack in Sidekiq

Codeship Codeship 06 December 2016

Sidekiq is one of the first gems that I install when doing a significant Rails project. If you plan to or already have Redis running, it provides an almost effortless ability to process background jobs. Aside from that, I’ve always thought that one of the most powerful components of Sidekiq was the web UI that […]

Refactoring Legacy Rails Controllers

Refactoring Legacy Rails Controllers

Codeship Codeship 29 November 2016

Ruby on Rails controllers are like the bouncers of a nightclub. No identification at a club? You aren’t getting in. Without the proper clothes, you can expect to be turned away. Oh, you wanna say something slick? You’re definitely not getting in, and you might be getting a beatdown on your way out. Controllers are […]