Reg: before_filter

Hi,

 Whether it is possible to give two parameters in before_filter ?

eg:

before_filter :test2,:test1

so if it possible what sequence it will work?
if any one knows the answer please help me

Yes.

Note that you could have verified this by testing it yourself

Julian.

Learn Ruby on Rails! Check out the FREE VIDS (for a limited time)
VIDEO #3 out NOW!
http://sensei.zenunit.com/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs