Media Summary: Callbacks are great for quickly tapping into the object life cycle. However, after a model or an application grows, it will become ... In this presentation, we will cover the basics of doing simple day-to-day validations and how we can go beyond: Having a set of ... Scopes are a great way of encapsulating query logic in a granular, reusable way. This talk will cover some techniques you can ...
Rorlab 83 1 Active Record - Detailed Analysis & Overview
Callbacks are great for quickly tapping into the object life cycle. However, after a model or an application grows, it will become ... In this presentation, we will cover the basics of doing simple day-to-day validations and how we can go beyond: Having a set of ... Scopes are a great way of encapsulating query logic in a granular, reusable way. This talk will cover some techniques you can ... Is your Ruby on Rails app growing—but slowing down? Performance bottlenecks often stem from unoptimized database queries.