aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorSergey Nartimov <just.lest@gmail.com>2012-01-13 13:49:50 +0300
committerSergey Nartimov <just.lest@gmail.com>2012-01-13 14:33:40 +0300
commit22cbc1a14da1562797c0b3388805034fb9fc1b7f (patch)
treef520a04111c2212b931aed777bdb0cec5ec8b756 /actionpack/lib
parent41c3d4ad8272329a02270b193f02073a6f31d307 (diff)
downloadrails-22cbc1a14da1562797c0b3388805034fb9fc1b7f.tar.gz
rails-22cbc1a14da1562797c0b3388805034fb9fc1b7f.tar.bz2
rails-22cbc1a14da1562797c0b3388805034fb9fc1b7f.zip
remove unused private methods
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/url_helper.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb
index 6fdb0cde7d..ebd1f280a8 100644
--- a/actionpack/lib/action_view/helpers/url_helper.rb
+++ b/actionpack/lib/action_view/helpers/url_helper.rb
@@ -643,22 +643,6 @@ module ActionView
html_options["data-method"] = method
end
- def options_for_javascript(options)
- if options.empty?
- '{}'
- else
- "{#{options.keys.map { |k| "#{k}:#{options[k]}" }.sort.join(', ')}}"
- end
- end
-
- def array_or_string_for_javascript(option)
- if option.kind_of?(Array)
- "['#{option.join('\',\'')}']"
- elsif !option.nil?
- "'#{option}'"
- end
- end
-
# Processes the +html_options+ hash, converting the boolean
# attributes from true/false form into the form required by
# HTML/XHTML. (An attribute is considered to be boolean if