ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-rails
ruby-rails
[Rails] overriding form helpers
by Dorian Mcfarland other posts by this author
May 31 2006 7:27PM messages near this date
[Rails] weather forecast | [Rails] How to achieve anchor in the html http://localhost:3000/event/event_info/100#comment5
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 i
n text_field.
All I really want to do is set some common options for every text input field on my site (cl
ass, size etc...)

is this possible?

thanks 

dorian 


-- 
--
I do things for love or money
_______________________________________________
Rails mailing list
Rails@[...].org
http://lists.rubyonrails.org/mailman/listinfo/rails

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved