aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-05-06 23:25:05 +0530
committerVipul A M <vipulnsward@gmail.com>2013-05-06 23:25:05 +0530
commit584ebed482907abb3b18c65495cd62fe5f643a89 (patch)
tree58691842ee66570b23d76d510d845751d2ec5488 /actionpack/lib/action_view/helpers
parentb5e4eb24e0fdef4eed37e67b9726ea0b595917da (diff)
downloadrails-584ebed482907abb3b18c65495cd62fe5f643a89.tar.gz
rails-584ebed482907abb3b18c65495cd62fe5f643a89.tar.bz2
rails-584ebed482907abb3b18c65495cd62fe5f643a89.zip
remove unused variable
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r--actionpack/lib/action_view/helpers/form_options_helper.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_options_helper.rb b/actionpack/lib/action_view/helpers/form_options_helper.rb
index 719c9c09b5..ad26505086 100644
--- a/actionpack/lib/action_view/helpers/form_options_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_options_helper.rb
@@ -515,7 +515,6 @@ module ActionView
divider = options[:divider]
else
prompt = options
- options = {}
message = "Passing the prompt to grouped_options_for_select as an argument is deprecated. " \
"Please use an options hash like `{ prompt: #{prompt.inspect} }`."
ActiveSupport::Deprecation.warn message