search for: same_method_nam

Displaying 1 result from an estimated 1 matches for "same_method_nam".

Did you mean: same_method_name
2007 Oct 08
2
flash messages?
...y application, and I feel like I''m forced to make a redirect just to be sure that flash[:hash] doesn''t appear in any other views? flash[:notice] = "ASDDD" redirect_to :action => :another_method_name else flash[:error] = "DSADS" redirect_to :action => :same_method_name How do you solve this problem, to be sure your flash doesn''t appear in any other views, do I need to have unique names for my flash hashes to be sure? Thanks for help! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this mes...