Frontendrails logo Front End Rails

Ruby code I no longer write

Ruby code I no longer write

Arkency Arkency 17 February 2017

When we learn programming languages and techniques we go through certain phases: Curiosity Admiration Overdosage Rejection Approval etc. Similarly with other things we enjoy in our life such as ice cream, pizza and sunbathing :) We learn to enjoy them, we try too much of it and learn the consequences. Hopefully some time later we find a good balance. We know, how much of it, we can use without hurting ourselves. I think we can have a similar experience in programming for example when you find out about metaprogramming, immutability, unit testing, DDD. Basically anything. We often need to hit an invisible wall and realize that we overdosed. It's not easy at all to realize it and learn from it. After 8 years of using Ruby and Rails, there are certain constructs that I try not to use anymore because I believe they make maintaining large applications harder.

Becoming a JavaScript developer

Becoming a JavaScript developer

Capsized Eight Capsized Eight 16 February 2017

The journey to becoming a developer is not easy, especially if you want to become a JavaScript developer. On your way to success, you'll discover and use various tools, a ton of frameworks, and even more libraries.

Pros and Cons of Being a Multidisciplinary Designer in a Product House and Why It Is So Satisfying

Pros and Cons of Being a Multidisciplinary Designer in a Product House and Why It Is So Satisfying

El Passion El Passion 16 February 2017

GitLab's Functional Group Updates

GitLab's Functional Group Updates

GitLab GitLab 16 February 2017

The Functional Groups at GitLab give an update on what they've been working on

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

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.