module FancyDates
  (1..12).each do |mo| 
    t = Time.mktime(1999,mo)
...

Ruby Cleaner way to define const...

by erikpukinskis.myopenid.com, January 19, 2010 20:45, 4 refactorings, tagged with ruby, DateTime

This is code that lets you ...

6015f1c7d2c5057f668f4951f3303b28 Talk
<%= render :partial => 'users/user_bar' unless defined? hide_user_bar and hide_user_bar %>

ActionScript testing truth on a possibly...

by erikpukinskis.myopenid.com, February 09, 2009 21:46, No refactoring, tagged with rails, ruby

Here' is the truth table:
...

6015f1c7d2c5057f668f4951f3303b28 Talk