RubyTapas Episode 21: Domain Model Events

Image2

Today’s free Monday episode features a rare delving into Rails code. We take a look at a fat controller, and thin it down by identifying the model lifecycle events that are hiding inside it. This episode garnered a lot of … Continue reading

Posted in Rails, Ruby, RubyTapas Samples, Screencasts | 4 Comments

No Free RubyTapas This Week

No free RubyTapas video this week, I’m afraid. Subscribers have received their video as always, but I decided to skip a week on the free videos for two reasons: Free videos are going to start being delayed by a week. … Continue reading

Posted in Announcements, Screencasts | Leave a comment

New RubyTapas Video, and a very special RubyConf Offer

Screenshot

A new video on Command-Query Separation, and a chance to lock-in a special discounted rate! Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | 4 Comments

A Month of Tapas

Holy cow, can you believe I’ve been making RubyTapas videos for a whole month? Some assorted numbers and notes from my brand-new screencast business: I’ve released 14 videos, including 5 free Monday episodes. As of today, RubyTapas has over 500 … Continue reading

Posted in Announcements | 9 Comments

RubyTapas Episode 13: Singleton Objects

Image1

Sometimes one instance is all you need.

Posted in Ruby, RubyTapas Samples, Screencasts, Videos | 3 Comments

Let’s stop telling programming newbies to learn Vim (or Emacs)

As readers of this blog know, I am a proud user of the third most baffling editor in existence. (Why third? well, I feel confident placing Vim as the 2nd, because while inscrutable, hand-twisting keybindings are difficult, in my observation … Continue reading

Posted in Education, Rants | 43 Comments

RubyTapas Episode 10: Finding $HOME

Image1

Today’s free Monday episode of RubyTapas concerns how to reliably discover a user’s home directory.

Posted in Ruby, RubyTapas Samples, Screencasts, Videos | Leave a comment

“Classes vs. Prototypes – Some Philosophical and Historical Observations”

Thanks to Roberto Guerra on the Objects on Rails mailing list for making me aware of this fascinating paper: The distinction between class-based and prototype-based systems reflects a long-lasting philosophical dispute concerning the representation of abstractions. Plato viewed forms — … Continue reading

Posted in Quotes, Reading | Tagged , , | 7 Comments

RubyTapas Episode 7: Constructors

Image1

In today’s free Monday episode, a look into how Ruby constructs new objects, and how we can customize constructors for special scenarios.

Posted in Ruby, RubyTapas Samples, Screencasts, Videos | 6 Comments

Conditionally Bundling Gems Based on Platform

There are a couple of libraries which I usually include in my Gemfiles because they make Guard more awesome on Ubuntu. However, they don’t make sense to require on other platforms, and they probably don’t even compile when not on … Continue reading

Posted in Ruby | Tagged , , | 13 Comments