aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2013-03-22 15:16:02 +0100
committerArun Agrawal <arunagw@gmail.com>2013-03-22 15:17:54 +0100
commit28afe45519230d08c9c350a7d4f5f5382b3687dd (patch)
treeaa8539399c240cf8dc68a2cfa05bf33266fe6457 /actionpack
parent7748d64a76ae140cb80cd54d183bc1f94c192b9d (diff)
downloadrails-28afe45519230d08c9c350a7d4f5f5382b3687dd.tar.gz
rails-28afe45519230d08c9c350a7d4f5f5382b3687dd.tar.bz2
rails-28afe45519230d08c9c350a7d4f5f5382b3687dd.zip
StringIO is not required by default in JRuby
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/strong_parameters.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb
index acad8a0799..4ef2639a76 100644
--- a/actionpack/lib/action_controller/metal/strong_parameters.rb
+++ b/actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -2,6 +2,7 @@ require 'active_support/core_ext/hash/indifferent_access'
require 'active_support/core_ext/array/wrap'
require 'active_support/rescuable'
require 'action_dispatch/http/upload'
+require 'stringio'
module ActionController
# Raised when a required parameter is missing.