Namespace
Methods
D
F
N
R
S
W
Instance Public methods
data_sender()
# File actionpack/test/controller/log_subscriber_test.rb, line 29
def data_sender
  send_data "cool data", :filename => "file.txt"
end
file_sender()
# File actionpack/test/controller/log_subscriber_test.rb, line 33
def file_sender
  send_file File.expand_path("company.rb", FIXTURE_LOAD_PATH)
end
never_executed()
# File actionpack/test/controller/log_subscriber_test.rb, line 18
def never_executed
end
redirector()
# File actionpack/test/controller/log_subscriber_test.rb, line 25
def redirector
  redirect_to "http://foo.bar/"
end
show()
# File actionpack/test/controller/log_subscriber_test.rb, line 21
def show
  render :nothing => true
end
with_action_not_found()
# File actionpack/test/controller/log_subscriber_test.rb, line 58
def with_action_not_found
  raise AbstractController::ActionNotFound
end
with_exception()
# File actionpack/test/controller/log_subscriber_test.rb, line 50
def with_exception
  raise Exception
end
with_fragment_cache()
# File actionpack/test/controller/log_subscriber_test.rb, line 37
def with_fragment_cache
  render :inline => "<%= cache('foo'){ 'bar' } %>"
end
with_fragment_cache_and_percent_in_key()
# File actionpack/test/controller/log_subscriber_test.rb, line 41
def with_fragment_cache_and_percent_in_key
  render :inline => "<%= cache('foo%bar'){ 'Contains % sign in key' } %>"
end
with_page_cache()
# File actionpack/test/controller/log_subscriber_test.rb, line 45
def with_page_cache
  cache_page("Super soaker", "/index.html")
  render :nothing => true
end
with_rescued_exception()
# File actionpack/test/controller/log_subscriber_test.rb, line 54
def with_rescued_exception
  raise SpecialException
end