flash
冰凌花花
欢迎来到我的博客, 本人乃互联网行业一枚小小的螺丝钉—非典型程序员妹子.
展开
-
Ruby页面错误提示flash
http://guides.rubyonrails.org/v3.0.8/action_controller_overview.html#the-flash 如何在页面显示controller里的错误提示, The flash is a special part of the session which is cleared with each request. This means th原创 2014-10-22 16:42:45 · 808 阅读 · 0 评论 -
The Flash
flash.now[:error] = "" render :new flash[:error] = "" redirect videos_path http://guides.rubyonrails.org/action_controller_overview.html The flash is a special part of the sess原创 2016-05-30 17:06:19 · 394 阅读 · 0 评论