Persistent Ruby

Work skillfully with the filesystem, data storage formats, and databases in Ruby.

LIKE Injection in SQL

PostgresQL gives us powerful tools for enabling text search, but if we're not careful we can accidentally expose our app to attacks. Join guest chef A…

Building queries with rom-rb

In the final entry in our series on ROM with guest Tim Riley, get ready for a quick tour through some more advanced ROM features. You'll get a sense o…

Writing changes with rom-rb

Today, Guest chef Tim Riley continues our tour of the ROM persistence gem. Learn how ROM uses the concept of Changesets to cleanly manage writes to th…

Getting started with rom-rb

Frustrated with the ActiveRecord Way? Join guest chef Tim Riley for part 1 of a 3-part introduction to ROM, and see how it can give you the flexibilit…

Self Save Part 4

In this series conclusion, we learn some lessons about trampolines and self-saving domain models.

Self Save Part 2

Continuing in our series, we examine three more problem scenarios with self-saving objects.

Self Save Part 1

The start of a series answering the question: why shouldn't a domain model object save itself?

Virtual Proxy

When loading domain objects from an external service, it can be expensive to load up associated objects with them. Today's episode takes a look at a p…