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