在做Live Search的时候如果出现如下错误:
undefined method `auto_complete_for' for
那么你就可能把代码auto_complete_for放错地方放到action里了,具体的请见:
[url]http://groups.google.com/group/Ruby-on-Rails-Taiwan/browse_thread/thread/6179460d50b7e9c0[/url]
undefined method `auto_complete_for' for
那么你就可能把代码auto_complete_for放错地方放到action里了,具体的请见:
[url]http://groups.google.com/group/Ruby-on-Rails-Taiwan/browse_thread/thread/6179460d50b7e9c0[/url]