rubyduo (at gmail)
Not a member
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) created the ticket at 10:53 PMI 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) commented at 10:42 PMYou'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) commented at 7:52 PMI 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) created the ticket at 2:57 PMSometimes 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...