aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/form_helper.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb
index 59d90f24f1..e62447c842 100644
--- a/actionpack/lib/action_view/helpers/form_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_helper.rb
@@ -840,8 +840,6 @@ module ActionView
private
def instantiate_builder(record, record_object = nil, options = nil, &block)
- raise ArgumentError, "Missing block" unless block_given?
-
options, record_object = record_object, nil if record_object.is_a?(Hash)
options ||= {}