Forum: Ruby on Rails overriding form helpers

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Dorian M. (Guest)
on 2006-06-01 06:28
(Received via mailing list)
Hi there,
I've been trying to override the text_field helper with a version in my
application helper.
Whenever I try and call it from a partial I get the error:
"uninitialized constant InstanceTag"

I can override the text_field_tag no problem. But there's lots of stuff
I don't understand in text_field.
All I really want to do is set some common options for every text input
field on my site (class, size etc...)

is this possible?


This topic is locked and can not be replied to.