search for: domain_part

Displaying 1 result from an estimated 1 matches for "domain_part".

Did you mean: domain_page
2006 Feb 21
1
Custom forms and fieldWithErrors tags
...email is a text field and the domains is a dropdown list, like: Select Email: [ my_name ] @ <domain.com> ..which I defined as a helper: def email_form(tagname, domain_list) text_field(tagname,"local_part", :size => 15) + " @ " + select(tagname, "domain_part", domain_list) end In the database however I only have one email_address textfield which is the full email address. To get that done I added two attr_accessor''s for local_part and domain_part, so I can store the information from the forms, and some checks: Model (part of it): at...