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 …
Search results for: episode 33
616 results found.
Episode #165: Refactor Tapas::Queue
In previous episodes, we got the Tapas::Queue class under test, using a couple of different thread-testing techniques. Now that it has tests, it's time to refactor. The steps of this …
Episode #118: Even And Odd
A small dish today, about some numeric methods I often forget exist.
Episode #106: Class Accessors
Today, some thoughts on writing class-level attribute accessors.
Episode #011: Method and Message
A look at the difference between methods and messages, and why passing methods around isn't as common in Ruby as it is in e.g. JavaScript.
Episode 524: Data Munging Play-by-Play Part 2 with Avdi Grimm
Part 2/2 of a play-by-play of a recent Ruby data-munging coding session. More fun with regexes, lazy enumerators, and more!
Episode #511: Minimum Viable Method
Is there such a thing as a method that is too small? Is it worth it to extract a method just to satisfy a guideline like the Law of Demeter?
Episode #537
Episode #537: The Message Myth with Avdi
What is the big lie at the root of modern object-oriented programming? Why is OO so difficult to learn and to teach? Find out in this new episode!