Alexandre Hudelot
2006-Aug-11 21:02 UTC
[Rails] 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. -- Posted via http://www.ruby-forum.com/.
Kevin Olbrich
2006-Aug-11 21:44 UTC
[Rails] Excluding all the methods of a class from a filter.
On Friday, August 11, 2006, at 10:59 PM, Alexandre Hudelot wrote:>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. > >-- >Posted via http://www.ruby-forum.com/. >_______________________________________________ >Rails mailing list >Rails@lists.rubyonrails.org >http://lists.rubyonrails.org/mailman/listinfo/railstry using the '':only=>:method_to_filter'' option _Kevin www.sciwerks.com -- Posted with http://DevLists.com. Sign up and save your mailbox.