Ruby on Rails Category
11/27/2018
Prevent an Outdated and Broken bin/setup with This Simple Trick
by Alex Piechowski
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?
09/06/2018
Writing a good bin/setup
by Matt Bettinson
What it takes to write a project setup script to ease on-boarding headaches and reduce company overhead
08/21/2018
Automatically Migrate from Factory Girl to Factory Bot
by Alex Piechowski
Gem updates are tedious. Gem name changes are even more tedious. This quick script converts Factory Girl references to Factory Bot references.
05/04/2015
Uniqueness Validation Race Condition in Ruby on Rails applications
by Frank Rietta
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.
03/13/2015
Get the Current Year in the Ruby programming language
by Frank Rietta
'Time.new.year' gets the current year in Ruby, but there are other options in the standard library.
02/19/2015
New Video! Understanding & Defending Against Data Breaches
by Frank Rietta
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.
01/09/2015
Two new videos! How a Ruby on Rails developer can help prevent a Data Breach
by Frank Rietta
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!