Displaying 1 result from an estimated 1 matches for "rmesage".
Did you mean:
mesage
2006 Mar 13
0
How to use flash in ROR.......
...#{params[:product][''quantity''+(i).to_s]}"
end
end
redirect_to :action => ''index'', :id => @product
============
Here in above code when i get redirected to index action (on
index.rhtml) page I can see only erro rmesage asociated with last flash.
That is in above code i want to store message into flash for all
products for which above ''if'' condition becomes true. So that i can
iterate throgh flash & see the error messages related with all products
for which ''if'' condition...