Excluding all the methods of a class from a filter

Hello, I would like to be able to exclude all the methods of a specific
class from being subject to methods called by before_filter entries.
Right now I have all those methods excluded using :except =>
[methode1,method2,…] but there must be a better way.

Thanks in advance,

Alexandre.

On Friday, August 11, 2006, at 10:59 PM, Alexandre H. wrote:

Posted via http://www.ruby-forum.com/.


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

try using the ‘:only=>:method_to_filter’ option

_Kevin
www.sciwerks.com