[Rails] Re: Helper methods from controller

2008-10-06 Thread Jon Stenqvist
Robby Russell wrote: On Sun, Oct 5, 2008 at 5:38 AM, Jon Stenqvist [EMAIL PROTECTED] wrote: Maybe Im not understanding your situation, but filters are more used for application logic and typical cases like logging, benchmarking etc. Wouldnt it be better to use the layouts folder and stick

[Rails] Re: Helper methods from controller

2008-10-05 Thread Raja Venkataraman
Jon Stenqvist wrote: Hi, I'm not sure i'm my design is correct, but i have around_filter in the controller, where i want to add a small javascript at the end of the page. Is there someway i can use the javascript_tag from the controller? i though there where a helpers proxy available.

[Rails] Re: Helper methods from controller

2008-10-05 Thread Jon Stenqvist
Raja Venkataraman wrote: Jon Stenqvist wrote: Hi, I'm not sure i'm my design is correct, but i have around_filter in the controller, where i want to add a small javascript at the end of the page. Is there someway i can use the javascript_tag from the controller? i though there where a

[Rails] Re: Helper methods from controller

2008-10-05 Thread Robby Russell
On Sun, Oct 5, 2008 at 5:38 AM, Jon Stenqvist [EMAIL PROTECTED] wrote: Raja Venkataraman wrote: Jon Stenqvist wrote: Hi, I'm not sure i'm my design is correct, but i have around_filter in the controller, where i want to add a small javascript at the end of the page. Is there someway i can