Ruby on Rails
Rietta's Ruby on Rails posts cover application security, dependency management, background jobs, database migrations, and Rails tutorials.
Subscribe to Ruby on Rails posts via RSS
10/15/2015
Ruby Application Security Talk Featured in Ruby Weekly Issue # 268
by Frank Rietta
My Rocky Mountain Ruby 2015 talk, "Defending Against Data Breaches, as a Practicing Ruby Developer," was featured in Ruby Weekly issue #268.
Read More: Ruby Application Security Talk Featured in Ruby Weekly Issue # 268
05/04/2015
Uniqueness Validation Race Condition in Ruby on Rails applications
by Frank Rietta
Race conditions slip into production easily. 'validates :field_name, uniqueness: true' won't prevent duplicates; enforce data integrity with unique indexes too.
Read More: Uniqueness Validation Race Condition in Ruby on Rails applications
03/30/2015
Adding a Rake Task for SQL Views to a Rails Project
by Frank Rietta
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: Adding a Rake Task for SQL Views to a Rails Project
03/13/2015
Get the Current Year in the Ruby programming language
by Frank Rietta
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: Get the Current Year in the Ruby programming language
02/19/2015
New Video! Understanding & Defending Against Data Breaches
by Frank Rietta
Customer data breaches are happening at an increasing rate. Most are preventable; some would have been stopped by two factor authentication for staff access.
Read More: New Video! Understanding & Defending Against Data Breaches
01/09/2015
Two new videos! How a Ruby on Rails developer can help prevent a Data Breach
by Frank Rietta
Videos on data breaches and Ruby on Rails are now on YouTube! Level up your security knowledge, because good software security needs to be a moral stance!
Read More: Two new videos! How a Ruby on Rails developer can help prevent a Data Breach
09/19/2014
Learn how Upworthy scaled a Ruby on Rails application to serve massive traffic
by Frank Rietta
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: Learn how Upworthy scaled a Ruby on Rails application to serve massive traffic