Since 1999

Ruby on Rails Category


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 »


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 »


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 »


Engine Yard's 17 Rails Security Tips

Read More »


Rails: Set Max Length on Fields

Read More »


Ruby Application Security Talk Featured in Ruby Weekly Issue # 268

Read More »


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 »


Get the Current Year in the Ruby programming language

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

Read More »


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 »


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 »