Forum: Ruby on Rails setting helper defaults

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Dorian M. (Guest)
on 2006-01-19 22:07
(Received via mailing list)
Hi,
I've trawled the docs and the wiki, and I'm wondering if it's possible
to set an option globally on a helper (within a given controller)
(DateHelper in theis instance).
I know beforehand that I'll always want :include_blank => true,
:start_year => 1991 and I have a lot of date fields.

This possible?

thanks in adv.

d

--
I do things for love or money
--
+44 (0)7941 219 501
--
aim:oulalipo | yahoo:tachekent
This topic is locked and can not be replied to.