<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,15 +11,20 @@ those are not needed when using jQuery and Unobtrusive JavaScript.
 
 To use this, you need to have jQuery and the jquery-autocomplete plugin
 mentioned above (as well as that plugin's other jQuery plugin dependencies 
-which are included with it).  Then, there are three aspects of setting up
+which are included with it).  Then, there are four aspects of setting up
 an auto-complete field:
 
 1) Create the text field in your view, which is just a regular form text
 field as you'd create in a Rails erb view:
 
   &lt;%= post.text_field :title, :autocomplete =&gt;&quot;off&quot; %&gt;
+  
+2) Include the appropriate JS files and CSS in your layout or similar:
 
-2) Use the auto_complete_for controller macro to generate the appropriate
+  &lt;%= stylesheet_link_tag 'jquery.ui.autocomplete' %&gt;
+  &lt;%= javascript_include_tag 'jquery.min', 'jquery.dimensions.min', 'jquery.templating', 'jquery.ui.autocomplete.ext', 'jquery.ui.autocomplete', :cache =&gt; 'jquery' %&gt;
+
+3) Use the auto_complete_for controller macro to generate the appropriate
 auto-complete method in your controller, such as:
 
   # Controller
@@ -27,7 +32,7 @@ auto-complete method in your controller, such as:
     auto_complete_for :post, :title
   end
 
-3) Hook up the text field's autocomplete event in your JavaScript file
+4) Hook up the text field's autocomplete event in your JavaScript file
 using jQuery and the jquery-autocomplete plugin mechanism, for example:
 
   $(document).ready(function() {</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -1 +1 @@
-ActionController::Base.send :include, AutoCompleteJQuery
+ActionController::Base.send :include, AutoCompleteJquery</diff>
      <filename>init.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>lib/auto_complete.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>56512b7706f63b9b2410b58368b9463bedd7d7cb</id>
    </parent>
  </parents>
  <author>
    <name>Christopher Bailey</name>
    <email>chris@cobaltedge.com</email>
  </author>
  <url>http://github.com/chris/auto_complete_jquery/commit/01f6f376fe1fb01e9eaee4e1b254f26c8b62dd78</url>
  <id>01f6f376fe1fb01e9eaee4e1b254f26c8b62dd78</id>
  <committed-date>2008-06-04T13:04:49-07:00</committed-date>
  <authored-date>2008-06-04T13:04:49-07:00</authored-date>
  <message>Add notes on including the JS and CSS files in your layout.</message>
  <tree>dde03072a930a73f37eef5e37195fdd59f004cc5</tree>
  <committer>
    <name>Christopher Bailey</name>
    <email>chris@cobaltedge.com</email>
  </committer>
</commit>
