Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

rubyduo (at gmail)'s latest activity

Friday, January 21 2011
6323 bundle installing fork of rails/rails on mac os x forces me to install postgr... was created in Ruby on Rails
  • rubyduo (at gmail)
    rubyduo (at gmail) created the ticket at 10:53 PM

    I forked Rails in order to submit a patch, but when I ran bundle install, the native compilation kicked off by the pg gem failed while searching for a missing C...

6321 add improved version of Enumerable#include? was updated in Ruby on Rails
  • rubyduo (at gmail)
    rubyduo (at gmail) commented at 10:42 PM

    You're right about the ambiguity. I'm now on your side of the fence. It'd sure be nice to see your patch (object_in_with_duck_typing.diff) applied to ActiveSupp...

  • rubyduo (at gmail)
    rubyduo (at gmail) commented at 7:52 PM

    I like your change, since now you can write x.in?(1..50)

    On the other hand, it is nice to just type x.in?(1,2) instead of the wordy x.in?([1,2]).

    We could get t...

  • rubyduo (at gmail)
    rubyduo (at gmail) created the ticket at 2:57 PM

    Sometimes you want to ask a question like

    "Is x 1 or 2?"

    Normally, you write this as:

    [1,2].include?(x)

    which seems backwards to me.

    The attached patch to activ...