I’m currently implementing ActionFilters and ActionResults in ironruby
I do have some questions about that…
Why so many filters? Is there an example somewhere so I can see their
At the moment I’m doing it this way:
class HomeController < Controller
before_filter :some_name do |ar|
# do some really cool shizzit here
filter :some_name, :when => :after do |res|; end;
filter :action_name, :when => :authorize
Then there are also selectors… they seem to do the same thing as
but I might be mistaking. Can I just lump those together and just call
different kind of filter?
What would be the best strategy because the amount of filters is a
bit over doing it IMHO ?