Tutorials




Benchmarking a page protected by a login with Apache Benchmark
I’ve been slowly working through The Complete Guide to Rails Performance. I’m taking the ideas and concepts from Nate’s book and working on applying the lessons to the app I work on in my day job.I had a chance to attend Nate’s workshop in Denver ...


Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
Audited (previously acts_as_audited) is an ORM extension that logs all changes to your models. Audited can also record who made those changes, save comments and associate models related to the changes.Audited currently (4.x) works with Rails 6.0, ...

Validates european vat numbers. Standalone or as a ActiveModel validator.
Simple syntax verificationLookup via the VIES web serviceActiveModel/Rails integrationWorks standalone without ActiveModelI18n locales for language specific error messages in English, German, French, Spanish, Italian, Portuguese, Polish, Swedish, ...


Mystified by RSpec's DSL? Some parentheses can add clarity
Many developers have a hard time wrapping their head around RSpec’s DSL syntax. To me for a long time, RSpec’s syntax was a mystery.Then one day I realized that RSpec’s syntax is just methods and blocks. There’s not some crazy ass metaprogramming ...