Ruby on Rails

Rietta's Ruby on Rails posts cover application security, dependency management, background jobs, database migrations, and Rails tutorials.

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/30/2015

Adding a Rake Task for SQL Views to a Rails Project

How to keep SQL views as .sql files in db/sql_views and add a custom 'rake db:views' task to a Rails project, treating database views like ActiveRecord models.

Read More »

03/13/2015

Get the Current Year in the Ruby programming language

Get the current year in Ruby using Time, Date, or DateTime, then compare benchmark results across these methods on both MRI Ruby 2.2 and JRuby 1.7.19.

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 »

09/19/2014

Learn how Upworthy scaled a Ruby on Rails application to serve massive traffic

Upworthy's backend is built on Ruby on Rails with an effective use of the Fastly CDN to deliver very high performance at scale.

Read More »

06/05/2014

What a Ruby developer can do to help prevent a Data Breach - 2014

Read More »

05/20/2014

Joe Moore has Pair Programmed for 27,000 Hours

Read More »