Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove unused variable

  • Loading branch information...
commit 584ebed482907abb3b18c65495cd62fe5f643a89 1 parent b5e4eb2
@vipulnsward vipulnsward authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  actionpack/lib/action_view/helpers/form_options_helper.rb
View
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
Please sign in to comment.
Something went wrong with that request. Please try again.