Displaying 1 result from an estimated 1 matches for "_given_names".
Did you mean:
given_names
2006 Jul 21
5
How to display data using helpers and collections
## application_helper.rb
def name_field(object, options = {} )
html = ""
html << "Title : " + select(object, ''title'')
html << "Given Names :" + text_field(object, ''given_names''
html << "Family Name :" + text_field(object, ''family_name''
html
end
## index.rhtml
<div