Daniel Schierbeck
Developer · Not a member
Daniel Schierbeck's latest activity
Monday, September 22 2008
-
Daniel Schierbeck commented at 5:12 PMChad: here's a scenario:
class Invoice def initialize(client) @client = client end delegate :name, :address, :to => :@client, :prefix => true end...
Sunday, September 21 2008
-
Daniel Schierbeck commented at 2:34 PMOne question though -- what if the methods are delegated to something other than a method? A custom prefix still makes sense, but I'm not sure what the
trueval... -
-
Daniel Schierbeck commented at 2:07 PMFound out I could have it all in one file, sorry about the patch spam.
-
- Tag changed from activesupport, patch to activesupport, patch
I've added tests and an implementation of what has been discussed here.
Sunday, September 14 2008
-
Daniel Schierbeck commented at 9:26 PMThis has been committed to docrails, so it can safely be closed here.
-
Daniel Schierbeck commented at 9:25 PMChad's approach seems a lot more sensible than using the
:tooption. Is someone working on this? Otherwise, I could give it a stab later this week.
Wednesday, September 10 2008
Saturday, September 06 2008
-
Daniel Schierbeck created the ticket at 5:25 PMThis patch allows one to prefix delegation methods, either with a custom string or with the name of the delegation target.
class Invoice attr_accessor :clie...
Sunday, August 24 2008
-
Daniel Schierbeck created the ticket at 2:47 PMThis patch makes
#constantizeuse#injectinstead of#each, making it more Rubyesque, at least that's my opinion.Hope you have a look at it.