Frontendrails logo Front End Rails

Orphans and Widows in CSS

Orphans and Widows in CSS

Development Thoughts Development Thoughts 13 March 2017

When you are writing HTML content that may split over a column or a page you should consider the orphan and widow CSS properties.

Interview with Håkon Wium Lie

Interview with Håkon Wium Lie

Development Thoughts Development Thoughts 21 February 2017

Today I am more than a little excited to share an interview I conducted over email with Håkon Wium Lie.

When to include irb in Ruby 2.4.0

When to include irb in Ruby 2.4.0

Development Thoughts Development Thoughts 19 February 2017

I’ve only just got around to playing with ruby 2.4.0 which was released in late 2016. One of the new features of the language is introduced was Binding.irb.

ActiveJob Vs ApplicationJob

ActiveJob Vs ApplicationJob

Development Thoughts Development Thoughts 24 January 2017

If you are looking up documentation about the Jobs functionality within Rails you can occasionally see that the sample Jobs class appears to inherit from two different classes.

Some stats from frontend focus

Some stats from frontend focus

Development Thoughts Development Thoughts 05 January 2017

I wanted to play around with some array manipulations in JavaScript and for whatever reason when the latest issue of Frontend Focus came into my inbox one of my first thoughts was, I wonder how many words long the top articles end up being.

Getting OS X to trust self-signed SSL certificates

Getting OS X to trust self-signed SSL certificates

Development Thoughts Development Thoughts 12 October 2016

This might be common knowledge in the web development community but today I am going to show you a quick trick to get your Mac to accept staging or development SSL certificates as if they were production certs.

Tracking AdWords Conversions within JavaScript

Tracking AdWords Conversions within JavaScript

Development Thoughts Development Thoughts 27 April 2016

Today I want to talk about grabbing AdWords conversions from things like AJAX requests, JavaScript callbacks, and any other way from inside your website that doesn’t include putting it on a “thank you” page.

Complete list of custom icon properties for Bootstrap 3 Datepicker

Complete list of custom icon properties for Bootstrap 3 Datepicker

Development Thoughts Development Thoughts 06 March 2016

If you are using Bootstrap 3 Datepicker and want to change the icons used for the symbols within the datepicker then you can.

Fix for OpenSSL::SSL::SSLError on RestForce / Faraday

Fix for OpenSSL::SSL::SSLError on RestForce / Faraday

Development Thoughts Development Thoughts 17 February 2016

Today I want to share how I fixed an OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed error that we were having on one of our Rails applications.

What to do when things go wrong

What to do when things go wrong

Development Thoughts Development Thoughts 08 February 2016

You are about to break something. It might not be today, it might not be this week but you will break something that will cause downtime or loss of data. It is almost 100% certain.

The EU Cookie Law

The EU Cookie Law

Development Thoughts Development Thoughts 01 February 2016

Many moons ago I created a website called theeucookielaw.com – it was designed to help educate web developers who were freaking out over some changes they may have had to undertake on their website.

Loading a specific file into Dotenv

Loading a specific file into Dotenv

Development Thoughts Development Thoughts 27 January 2016

Dotenv is a great tool and by default works right out of the box when you have a .env file.

Grep flags that I like

Grep flags that I like

Development Thoughts Development Thoughts 09 December 2015

I grep for things so many times a day that I don’t even think about it. I know I need to find something and I immediately start typing the command.

Speeding up accessing Safari’s URL bar on El Capitan

Speeding up accessing Safari’s URL bar on El Capitan

Development Thoughts Development Thoughts 10 October 2015

I am a recent convert to using Safari for my day to day browsing and web development.

Meteor @dev was not detected

Meteor @dev was not detected

Development Thoughts Development Thoughts 10 October 2015

If like me you are relatively new to testing using Cucumber on Meteor then you may have ran into a scenario where all your Cucumber tests are passing because none of them are being run.