On 29 June 2010 10:37, Carsten Gehling <[email protected]> wrote: > Yup it is a very neat solution, that I will adapt to. Thanks
No worries. I got it from the "Refactoring: Ruby Edition" book - they call it the "introduce null object" pattern. Well worth being familiar with the book for loads of other very good little patterns. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

