All episodes published in 2014
Today we go a little deeper into keyword arguments in Ruby 2.0/2.1, covering a few use cases we didn't cover in the last episode.
Today's episode is a guide to transitioning various hash argument idioms to Ruby 2.0/2.1 keywords.
Today's dish is a refactoring approached from two different perspectives. Enjoy!
Recently we looked at the Sequel library for interacting with SQL databases. Today, we'll use Sequel again to play with the native JSON support in PostgreSQL 9.3.
We've used the "ghost object" pattern to lazily load attributes of a model object. And we've made a macro to easily declare "ghost-loadable" attribute accessors. Today we complete the generalization …
Today's episode demonstrates a technique for speeding up the process of sorting some collections.
In today's episode we learn at how to implement lazy loading using the "ghost object" pattern.
ActiveRecord has become practically synonymous with SQL database access in Ruby, but it's not the only way to talk to SQL stores. Today we'll explore Sequel, a wonderfully rich tool …