On 2/23/07, Patrick Crowley <[EMAIL PROTECTED]> wrote:
For your problem, I'd try including a javascript based on the controller or action name.
+1 for that. I've done the same with javascript based on the controller name. I started writing a simpler version of the helper that Patrick just shared, but he beat me to it with something more sophisticated. Patrick: any reason for FileTest#exists rather than File#exists? Just curious. Anyway, I couldn't help optimizing a bit: http://p.caboo.se/42575 :-) -- Nick Zadrozny • http://missionsbridge.org/people/nick
_______________________________________________ Sdruby mailing list [email protected] http://lists.sdruby.com/mailman/listinfo/sdruby
