Methods
A
F
H
R
S
U
Instance Public methods
attempt_to_use_flash_now()
# File actionpack/test/controller/flash_test.rb, line 20
def attempt_to_use_flash_now
  @flash_copy = {}.update flash
  @flashy = flash["that"]
  render :inline => "hello"
end
filter_halting_action()
# File actionpack/test/controller/flash_test.rb, line 63
def filter_halting_action
  @flash_copy = {}.update(flash)
end
halt_and_redir()
# File actionpack/test/controller/flash_test.rb, line 67
def halt_and_redir
  flash["foo"] = "bar"
  redirect_to :action => "std_action"
  @flash_copy = {}.update(flash)
end
redirect_with_alert()
# File actionpack/test/controller/flash_test.rb, line 73
def redirect_with_alert
  redirect_to '/nowhere', :alert => "Beware the nowheres!"
end
redirect_with_foo_flash()
# File actionpack/test/controller/flash_test.rb, line 95
def redirect_with_foo_flash
  redirect_to "/wonderland", :foo => 'for great justice'
end
redirect_with_notice()
# File actionpack/test/controller/flash_test.rb, line 77
def redirect_with_notice
  redirect_to '/somewhere', :notice => "Good luck in the somewheres!"
end
redirect_with_other_flashes()
# File actionpack/test/controller/flash_test.rb, line 91
def redirect_with_other_flashes
  redirect_to '/wonderland', :flash => { :joyride => "Horses!" }
end
render_with_flash_now_alert()
# File actionpack/test/controller/flash_test.rb, line 81
def render_with_flash_now_alert
  flash.now.alert = "Beware the nowheres now!"
  render :inline => "hello"
end
render_with_flash_now_notice()
# File actionpack/test/controller/flash_test.rb, line 86
def render_with_flash_now_notice
  flash.now.notice = "Good luck in the somewheres now!"
  render :inline => "hello"
end
set_flash()
# File actionpack/test/controller/flash_test.rb, line 6
def set_flash
  flash["that"] = "hello"
  render :inline => "hello"
end
set_flash_now()
# File actionpack/test/controller/flash_test.rb, line 11
def set_flash_now
  flash.now["that"] = "hello"
  flash.now["foo"] ||= "bar"
  flash.now["foo"] ||= "err"
  @flashy = flash.now["that"]
  @flash_copy = {}.update flash
  render :inline => "hello"
end
std_action()
# File actionpack/test/controller/flash_test.rb, line 58
def std_action
  @flash_copy = {}.update(flash)
  render :nothing => true
end
use_flash()
# File actionpack/test/controller/flash_test.rb, line 26
def use_flash
  @flash_copy = {}.update flash
  @flashy = flash["that"]
  render :inline => "hello"
end
use_flash_after_reset_session()
# File actionpack/test/controller/flash_test.rb, line 45
def use_flash_after_reset_session
  flash["that"] = "hello"
  @flashy_that = flash["that"]
  reset_session
  @flashy_that_reset = flash["that"]
  flash["this"] = "good-bye"
  @flashy_this = flash["this"]
  render :inline => "hello"
end
use_flash_and_keep_it()
# File actionpack/test/controller/flash_test.rb, line 32
def use_flash_and_keep_it
  @flash_copy = {}.update flash
  @flashy = flash["that"]
  flash.keep
  render :inline => "hello"
end
use_flash_and_update_it()
# File actionpack/test/controller/flash_test.rb, line 39
def use_flash_and_update_it
  flash.update("this" => "hello again")
  @flash_copy = {}.update flash
  render :inline => "hello"
end