On Mar 5, 11:26 pm, Shuaib85 <[email protected]> wrote: > 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 >
sounds like you just want one filter that checks these 2 things. Fred > 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 -~----------~----~----~----~------~----~------~--~---

