Hi there

I am wondering if we can use before_filter in the form of :action
OR :action

what i want to do is to implement one of the actions, if the first
failed, then go to the second

when i use
before_filter :action1
before_filter :action2

each method will run them, my case is that i want to check if one of
them is true and not both

any idea?
--~--~---------~--~----~------------~-------~--~----~
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