aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorVishnu Atrai <me@vishnuatrai.com>2011-12-31 01:12:53 +0530
committerVishnu Atrai <me@vishnuatrai.com>2011-12-31 01:12:53 +0530
commit18ed37b9259107b7ddd608a4a56b288b14a47c1b (patch)
treedbd71e17ea05cf1c6d01366aba08ec687228635c /actionpack
parent7c55d6977c68041d34cb657f90f92773d3fd64e3 (diff)
downloadrails-18ed37b9259107b7ddd608a4a56b288b14a47c1b.tar.gz
rails-18ed37b9259107b7ddd608a4a56b288b14a47c1b.tar.bz2
rails-18ed37b9259107b7ddd608a4a56b288b14a47c1b.zip
fiber is available in ruby19
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/renderer/streaming_template_renderer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/renderer/streaming_template_renderer.rb b/actionpack/lib/action_view/renderer/streaming_template_renderer.rb
index 1ccf5a8ddb..4b66f66e2d 100644
--- a/actionpack/lib/action_view/renderer/streaming_template_renderer.rb
+++ b/actionpack/lib/action_view/renderer/streaming_template_renderer.rb
@@ -1,7 +1,7 @@
# 1.9 ships with Fibers but we need to require the extra
# methods explicitly. We only load those extra methods if
# Fiber is available in the first place.
-require 'fiber' if defined?(Fiber)
+require 'fiber'
module ActionView
# == TODO