aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-12-09 19:29:52 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-12-09 19:29:52 +0530
commit6c58fca8a99a86be2408d5a95d129cff9db773db (patch)
treeff3f1ccf4be1d1468446e16b05bdc7192d210dc6 /actionpack/lib/action_view/helpers
parente58e8bda88b2919635f2158f384390636bc2c8b5 (diff)
downloadrails-6c58fca8a99a86be2408d5a95d129cff9db773db.tar.gz
rails-6c58fca8a99a86be2408d5a95d129cff9db773db.tar.bz2
rails-6c58fca8a99a86be2408d5a95d129cff9db773db.zip
Revert "API reader should look elsewhere for helper instructions"
This reverts commit ba2d867b2961b5ef72aad353c2d647b04654cbe3. Reason: https://github.com/lifo/docrails/commit/ba2d867b2961b5ef72aad353c2d647b04654cbe3#commitcomment-2276670 [ci skip]
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r--actionpack/lib/action_view/helpers/form_helper.rb24
1 files changed, 0 insertions, 24 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb
index f0abb79bd0..5710d1fc02 100644
--- a/actionpack/lib/action_view/helpers/form_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_helper.rb
@@ -1226,10 +1226,6 @@ module ActionView
RUBY_EVAL
end
- # Instructions for this +method+ can be found in this documentation.
- # For reusability and delegation reasons, various +methods+ have equal names.
- # Please, look up the next +method+ with this name
- #
def fields_for(record_name, record_object = nil, fields_options = {}, &block)
fields_options, record_object = record_object, nil if record_object.is_a?(Hash) && record_object.extractable_options?
fields_options[:builder] ||= options[:builder]
@@ -1259,43 +1255,23 @@ module ActionView
@template.fields_for(record_name, record_object, fields_options, &block)
end
- # Instructions for this +method+ can be found in this documentation.
- # For reusability and delegation reasons, various +methods+ have equal names.
- # Please, look up the next +method+ with this name
- #
def label(method, text = nil, options = {}, &block)
@template.label(@object_name, method, text, objectify_options(options), &block)
end
- # Instructions for this +method+ can be found in this documentation.
- # For reusability and delegation reasons, various +methods+ have equal names.
- # Please, look up the next +method+ with this name
- #
def check_box(method, options = {}, checked_value = "1", unchecked_value = "0")
@template.check_box(@object_name, method, objectify_options(options), checked_value, unchecked_value)
end
- # Instructions for this +method+ can be found in this documentation.
- # For reusability and delegation reasons, various +methods+ have equal names.
- # Please, look up the next +method+ with this name
- #
def radio_button(method, tag_value, options = {})
@template.radio_button(@object_name, method, tag_value, objectify_options(options))
end
- # Instructions for this +method+ can be found in this documentation.
- # For reusability and delegation reasons, various +methods+ have equal names.
- # Please, look up the next +method+ with this name
- #
def hidden_field(method, options = {})
@emitted_hidden_id = true if method == :id
@template.hidden_field(@object_name, method, objectify_options(options))
end
- # Instructions for this +method+ can be found in this documentation.
- # For reusability and delegation reasons, various +methods+ have equal names.
- # Please, look up the next +method+ with this name
- #
def file_field(method, options = {})
self.multipart = true
@template.file_field(@object_name, method, objectify_options(options))