Hi,

> The fetch_operator action is always executed, before every action in every 
> controller?
Yes, all kind of filters implemented inside ApplicationController
class are always executed in every controller (whose parent is
ApplicationController) unless you change the behavior explicitly.

class ApplicationController < ActionController::Base
  ...
  before_filter :fetch_operator
...
end

class anotherController < ApplicationController
  before_filter :fetch_operator, :only => [:login]
end

For further information, see: 
http://rails.rubyonrails.org/classes/ActionController/Filters/ClassMethods.html

Exequiel.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to