提交 32b4abdd 编写于 作者: R Rafael Mendonça França

Merge pull request #10486 from vipulnsward/remove_variable

remove unused variable
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册