2006/2/1, Nickolay Kolev <nmkolev at uni-bonn.de>: > Hi all, > > I would like to write some custom helpers like the ones available as > form helpers text_field, text_area and the like. My first try was this: > > custom_helper(obj, meth) > 'some_string' + obj.send(meth) + 'some_other_string' > end > In your views just call custom_helper(@person, :name)