You could create an email subclass field-type with just the to_html defined.
ciao dd On Sat, Jan 8, 2011 at 9:38 PM, Spiralis <[email protected]> wrote: > The app I am currently working on is private and hence does not need the > protection from email-scraping that public apps need. > > I thought that I could override all the EmailAddress views by doing the > following in application.dryml: > > <def tag="view" for="EmailAddress"><%= "<a > href=\"mailto:#{this}\">#{this}</a>".html_safe > %></def> > > But, it seems like the tag-definition is ignored somehow. It just keeps > using the EmailAddress defined in the to_html method in hobo_fields. I used > the above trick when redefining date-view, but - it seems EmailAddress needs > something else. Any suggestions? > > > ~Ronny > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<hobousers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/hobousers?hl=en. > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
