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/tumblelog/vendor/rails/actionpack/test/template/form_helper_test.rb?rev=374). 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! --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---