search for: eung

Displaying 1 result from an estimated 1 matches for "eung".

Did you mean: eng
2007 Aug 27
2
Can FILTERS AND VERIFICATION functions take arguments?
Hi, I have some problems in using filter. My filter functions need to have arguments, but filter functions take only symbol that refer to function name. Consider the following code: class BlogController < ApplicationController before_filter :authorize For instance, authorize need arguments. So how can I pass arguments to filter function? Any helps always appreciate.