Displaying 1 result from an estimated 1 matches for "another_method_nam".
Did you mean:
another_method_name
2007 Oct 08
2
flash messages?
Hello,
I''m using flash[:hash] in my 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-fo...