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') 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