Hi! I'm new to Ruby and Rails! I'm trying to create my custom FormBuilder(similar to LabelledFormBuilder you can find http://trac.rickbradley.com/cgi-bin/trac.cgi/file/...). But the problem is to get proper ID(same as field has) for lablel's "for" attribute. And i think that stripping generated id from string isn' a proper way to go... Is there more elegant solution? Thanks!
on 2007-01-27 02:35