From 50840f07531724f450df6b1326818195a42a34eb Mon Sep 17 00:00:00 2001 From: Alex Coles Date: Mon, 10 Nov 2014 12:25:51 +0100 Subject: [PATCH] Correct methods defined by TabularFormBuilder `ActionView::Helpers::FormBuilder.field_helpers` is now an Array of symbols. Signed-off-by: Alex Coles --- lib/tabular_form_builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tabular_form_builder.rb b/lib/tabular_form_builder.rb index 718a5fe9b2..6d8724f7f1 100644 --- a/lib/tabular_form_builder.rb +++ b/lib/tabular_form_builder.rb @@ -38,7 +38,7 @@ class TabularFormBuilder < ActionView::Helpers::FormBuilder super end - (field_helpers - %w(radio_button hidden_field fields_for label) + %w(date_select)).each do |selector| + (field_helpers - %i(radio_button hidden_field fields_for label) + %i(date_select)).each do |selector| src = <<-END_SRC def #{selector}(field, options = {}) if options[:multi_locale] || options[:single_locale]