Permalink
Browse files

[DOCS] fix reference to ActionController::Macros::AutoComplete for #t…

…ext_field_with_auto_complete. Closes #2578 [Jan Prill]

git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/1-2-pre-release@5852 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent ab3f6bc commit 376dcb8e022605405787a33d6882db2588f95633 @technoweenie technoweenie committed Jan 5, 2007
Showing with 6 additions and 3 deletions.
  1. +4 −1 actionpack/CHANGELOG
  2. +2 −2 actionpack/lib/action_view/helpers/java_script_macros_helper.rb
@@ -1,5 +1,8 @@
-*1.13.0 RC2* (r5847, January 4th, 2007)
+*SVN*
+
+* [DOCS] fix reference to ActionController::Macros::AutoComplete for #text_field_with_auto_complete. Closes #2578 [Jan Prill]
+*1.13.0 RC2* (r5847, January 4th, 2007)
* Make sure html_document is reset between integration test requests. [ctm]
@@ -189,9 +189,9 @@ def auto_complete_result(entries, field, phrase = nil)
# Wrapper for text_field with added AJAX autocompletion functionality.
#
# In your controller, you'll need to define an action called
- # auto_complete_for_object_method to respond the AJAX calls,
+ # auto_complete_for to respond the AJAX calls,
#
- # See the RDoc on ActionController::AutoComplete to learn more about this.
+ # See the RDoc on ActionController::Macros::AutoComplete to learn more about this.
def text_field_with_auto_complete(object, method, tag_options = {}, completion_options = {})
(completion_options[:skip_style] ? "" : auto_complete_stylesheet) +
text_field(object, method, tag_options) +

0 comments on commit 376dcb8

Please sign in to comment.