# Using label tags in scaffold views...how to get the method name?

**URL:** <https://www.ruby-forum.com/t/using-label-tags-in-scaffold-views-how-to-get-the-method-name/133595>\
**Category:** Rails\
**Created:** [April 1, 2008, 11:22pm UTC](https://www.ruby-forum.com/t/using-label-tags-in-scaffold-views-how-to-get-the-method-name/133595 "2008-04-01T23:22:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hangon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hangon](https://www.ruby-forum.com/u/hangon)\
**Post date:** [April 1, 2008, 11:22pm UTC](https://www.ruby-forum.com/t/using-label-tags-in-scaffold-views-how-to-get-the-method-name/133595/1 "2008-04-01T23:22:37Z")

</div>

hi,

i want to use the tag in the scaffold views.  
for a text field where the id is id=“person\_last\_name” how can i get  
the person\_last\_name string programmaticaly to use it as a label  
parameter

---

<div class="post-metadata">

**Author:** ![hangon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hangon](https://www.ruby-forum.com/u/hangon)\
**Post date:** [April 1, 2008, 11:32pm UTC](https://www.ruby-forum.com/t/using-label-tags-in-scaffold-views-how-to-get-the-method-name/133595/2 "2008-04-01T23:32:37Z")

</div>

my bad i should have search the mailing list first:

the label helper plugin seems to be what i was looking for.  
great

[http://blog.eric-stewart.com/pages/projects](http://blog.eric-stewart.com/pages/projects)
