提交 5525b79b 编写于 作者: R Rick Olson

Fix in auto_complete_result documentation. closes #5096. [medlar@medlar.it]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 53924078
......@@ -161,7 +161,7 @@ def auto_complete_field(field_id, options = {})
# @items = Item.find(:all,
# :conditions => [ 'LOWER(description) LIKE ?',
# '%' + request.raw_post.downcase + '%' ])
# render :inline => '<%= auto_complete_result(@items, 'description') %>'
# render :inline => "<%= auto_complete_result(@items, 'description') %>"
# end
#
# The auto_complete_result can of course also be called from a view belonging to the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册