Since 1999

Ruby on Rails Category

11/27/2018

Prevent an Outdated and Broken bin/setup with This Simple Trick

How often do you run this `bin/setup` if it's only ran when you set up your repo? Most developers setup their environment only every once in awhile. What happens when changes to the codebase happen and the bin/setup isn't modified as well?

Read More »

09/06/2018

Writing a good bin/setup

What it takes to write a project setup script to ease on-boarding headaches and reduce company overhead

Read More »

08/21/2018

Automatically Migrate from Factory Girl to Factory Bot

Gem updates are tedious. Gem name changes are even more tedious. This quick script converts Factory Girl references to Factory Bot references.

Read More »

09/05/2017

Engine Yard's 17 Rails Security Tips

Read More »

10/22/2016

Rails: Set Max Length on Fields

Read More »

10/15/2015

Ruby Application Security Talk Featured in Ruby Weekly Issue # 268

Read More »

05/04/2015

Uniqueness Validation Race Condition in Ruby on Rails applications

It's easy for race conditions to slip into your code and out into production. 'validates :field_name, uniqueness: true' is not enough to prevent duplicates in your database; here's how to enforce data integrity with both validations and unique indexes.

Read More »

03/13/2015

Get the Current Year in the Ruby programming language

'Time.new.year' gets the current year in Ruby, but there are other options in the standard library.

Read More »

02/19/2015

New Video! Understanding & Defending Against Data Breaches

Security incidents that lead to customer data breaches, which have been happening at an increasing rate. Most of these incidents are preventable, some would have even been stopped by simply having two factor authentication for staff member access.

Read More »

01/09/2015

Two new videos! How a Ruby on Rails developer can help prevent a Data Breach

Videos of the data breaches and Ruby on Rails are now up on YouTube! Level up on your security knowledge because good software security needs to be a moral stance!

Read More »