Skip to content

Commit 6c58fca

Browse files
committed
Revert "API reader should look elsewhere for helper instructions"
This reverts commit ba2d867. Reason: https://github.com/lifo/docrails/commit/ba2d867b2961b5ef72aad353c2d647b04654cbe3#commitcomment-2276670 [ci skip]
1 parent e58e8bd commit 6c58fca

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

actionpack/lib/action_view/helpers/form_helper.rb

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,10 +1226,6 @@ def #{selector}(method, options = {}) # def text_field(method, options = {})
12261226
RUBY_EVAL
12271227
end
12281228

1229-
# Instructions for this +method+ can be found in this documentation.
1230-
# For reusability and delegation reasons, various +methods+ have equal names.
1231-
# Please, look up the next +method+ with this name
1232-
#
12331229
def fields_for(record_name, record_object = nil, fields_options = {}, &block)
12341230
fields_options, record_object = record_object, nil if record_object.is_a?(Hash) && record_object.extractable_options?
12351231
fields_options[:builder] ||= options[:builder]
@@ -1259,43 +1255,23 @@ def fields_for(record_name, record_object = nil, fields_options = {}, &block)
12591255
@template.fields_for(record_name, record_object, fields_options, &block)
12601256
end
12611257

1262-
# Instructions for this +method+ can be found in this documentation.
1263-
# For reusability and delegation reasons, various +methods+ have equal names.
1264-
# Please, look up the next +method+ with this name
1265-
#
12661258
def label(method, text = nil, options = {}, &block)
12671259
@template.label(@object_name, method, text, objectify_options(options), &block)
12681260
end
12691261

1270-
# Instructions for this +method+ can be found in this documentation.
1271-
# For reusability and delegation reasons, various +methods+ have equal names.
1272-
# Please, look up the next +method+ with this name
1273-
#
12741262
def check_box(method, options = {}, checked_value = "1", unchecked_value = "0")
12751263
@template.check_box(@object_name, method, objectify_options(options), checked_value, unchecked_value)
12761264
end
12771265

1278-
# Instructions for this +method+ can be found in this documentation.
1279-
# For reusability and delegation reasons, various +methods+ have equal names.
1280-
# Please, look up the next +method+ with this name
1281-
#
12821266
def radio_button(method, tag_value, options = {})
12831267
@template.radio_button(@object_name, method, tag_value, objectify_options(options))
12841268
end
12851269

1286-
# Instructions for this +method+ can be found in this documentation.
1287-
# For reusability and delegation reasons, various +methods+ have equal names.
1288-
# Please, look up the next +method+ with this name
1289-
#
12901270
def hidden_field(method, options = {})
12911271
@emitted_hidden_id = true if method == :id
12921272
@template.hidden_field(@object_name, method, objectify_options(options))
12931273
end
12941274

1295-
# Instructions for this +method+ can be found in this documentation.
1296-
# For reusability and delegation reasons, various +methods+ have equal names.
1297-
# Please, look up the next +method+ with this name
1298-
#
12991275
def file_field(method, options = {})
13001276
self.multipart = true
13011277
@template.file_field(@object_name, method, objectify_options(options))

0 commit comments

Comments
 (0)