Easy attribute assignment (in Rails)
Update: It seems like I reinvented Hash#slice which is already in the Rails API
Written on Fri Mar 21 17:34:39 2008.
Tagged as rails, ruby.
Update: It seems like I reinvented Hash#slice which is already in the Rails API
Written on Fri Mar 21 17:34:39 2008.
Tagged as rails, ruby.
Method Chaining is an important technique to create beautiful code in object oriented languages, but Ruby (the beautiful language, right?) does not support it as well as it should.
Written on Sun Mar 16 10:17:59 2008.
Tagged as gem, ruby.
More specifically, Ruby doesn’t have real mixins (or interfaces or typeclasses if you like). But then what does a module mixin do? It modifies a class’s inheritance chain at runtime
Written on Tue Mar 11 18:26:54 2008.
Tagged as gem, ruby.