From b5cc89ae017c540e1921a14b560f845ff31b3a8f Mon Sep 17 00:00:00 2001 From: Gaurish Sharma Date: Sat, 16 Jun 2012 01:49:44 +0530 Subject: Add rdoc to phone_field [API docs](http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-phone_field) for `phone_field` provide no information on what the method actually does. no description nor access to source code. so added this --- actionpack/lib/action_view/helpers/form_helper.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index 7dd35f7357..7b1bb48718 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -979,6 +979,7 @@ module ActionView def telephone_field(object_name, method, options = {}) Tags::TelField.new(object_name, method, self, options).render end + # alias of telephone_field alias phone_field telephone_field # Returns a text_field of type "date". -- cgit v1.2.3 From e925d56529406cade161b4f453f34504ae0b3d62 Mon Sep 17 00:00:00 2001 From: Alexey Vakhov Date: Mon, 18 Jun 2012 22:52:15 +0400 Subject: Fix misprint in UrlHelper module --- actionpack/lib/action_view/helpers/url_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb index 7f5b3c8a0f..736f9fa2f0 100644 --- a/actionpack/lib/action_view/helpers/url_helper.rb +++ b/actionpack/lib/action_view/helpers/url_helper.rb @@ -23,7 +23,7 @@ module ActionView include ActionDispatch::Routing::UrlFor include TagHelper - # We need to override url_optoins, _routes_context + # We need to override url_options, _routes_context # and optimize_routes_generation? to consider the controller. def url_options #:nodoc: -- cgit v1.2.3 From 6285675db1cf983ba6c15442aedb457c8041f5ee Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Fri, 22 Jun 2012 22:14:29 +0530 Subject: fixes a few mistakes in api docs [ci skip] --- actionpack/lib/action_view/helpers/form_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index 7b1bb48718..ba2a26fd09 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -979,7 +979,7 @@ module ActionView def telephone_field(object_name, method, options = {}) Tags::TelField.new(object_name, method, self, options).render end - # alias of telephone_field + # aliases telephone_field alias phone_field telephone_field # Returns a text_field of type "date". -- cgit v1.2.3