Permalink
Browse files

remove unused variable

  • Loading branch information...
1 parent b5e4eb2 commit 584ebed482907abb3b18c65495cd62fe5f643a89 @vipulnsward vipulnsward committed May 6, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 actionpack/lib/action_view/helpers/form_options_helper.rb
@@ -515,7 +515,6 @@ def grouped_options_for_select(grouped_options, selected_key = nil, options = {}
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

0 comments on commit 584ebed

Please sign in to comment.