Ralph Shnelvar wrote:
> If one places a before_filter in class ApplicationController, when is
> the before filter called and for which methods.

Does 
http://www.railsapi.com/doc/rails-v2.3.8/classes/ActionController/Filters/ClassMethods.html
 
answer your question?

> 
> 
> I believe it gets called before any "action" ... but how does rails know
> that the method is an action?

All (public) controller methods are in principle actions in Rails.  If 
you have ones that aren't, get them out of the controller or make them 
private.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
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