<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>manual/i18n.markdown</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -20,6 +20,7 @@ class ManualController &lt; ApplicationController
                                      ['hobosupport',  'Hobo Support'],
                                      ['hobofields',   'Hobo Fields'],
                                      ['generators',   'Generators'],
+                                     ['i18n',         'Internationalization'],
                                     ])
 
   SUBTITLES = {
@@ -47,7 +48,7 @@ class ManualController &lt; ApplicationController
   }
 
   def manual_section
-    section      = params[:section].gsub(/[^a-z_\-]/, '')
+    section      = params[:section].gsub(/[^a-z0-9_\-]/, '')
     filename     = &quot;manual/#{section}.markdown&quot;
     @title       = TITLES[section]
     @subtitles   = SUBTITLES[section]
@@ -56,8 +57,8 @@ class ManualController &lt; ApplicationController
   end
 
   def manual_subsection
-    section      = params[:section].gsub(/[^a-z_\-]/, '')
-    subsection   = params[:subsection].gsub(/[^a-z_\-]/, '')
+    section      = params[:section].gsub(/[^a-z0-9_\-]/, '')
+    subsection   = params[:subsection].gsub(/[^a-z0-9_\-]/, '')
     filename     = &quot;manual/#{section}/#{subsection}.markdown&quot;
     @title       = TITLES[section]
     @subtitles   = SUBTITLES[section]</diff>
      <filename>app/controllers/manual_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -531,8 +531,14 @@ The autocomplete behaviour can be customised with the following options:
 
  - `:field` -- specify a field to complete on. Defaults to the name (first argument) of the autocompleter.
  - `:limit` -- maximum number of completions. Defaults to 10.
- - `:param` -- name of the parameter in which to expect the user's input. Defaults to `:query`
- - `:query_scope` -- a named scope used to do the database query. Change this to control things such as handling of multiple words, case sensitivity, etc. For our example this would be `email_address_contains`. Note that this is one of Hobo's automatic scopes.
+ - `:param` -- name of the parameter in which to expect the user's
+ - input. Defaults to `:query`
+ - `:query_scope` -- a named scope used to do the database
+   query. Change this to control things such as handling of multiple
+   words, case sensitivity, etc. For our example this would be
+   `:email_address_contains`. Note that this is one of Hobo's
+   automatic scopes.  Instead of a single named scope, you may instead
+   pass a list of named scopes.
 
 
 ## Further customisation
@@ -557,6 +563,9 @@ The parameters to `hobo_completions` are:
  - A finder, i.e. a model class, association, or a scope.
  - Options (the same as described above)
 
+You can see an example of autocompleter customization in a
+[recipe](http://cookbook.hobocentral.net/recipes/36-using-a-name-one-one-a)
+and in the [manual for name-one](http://cookbook.hobocentral.net/api_tag_defs/name-one).
 
 # Drag and drop reordering
 </diff>
      <filename>manual/controllers.markdown</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a629151635dda01667540eba93a8b4ecb5ca9df2</id>
    </parent>
  </parents>
  <author>
    <name>Bryan Larsen</name>
    <email>bryan@larsen.st</email>
  </author>
  <url>http://github.com/tablatom/hobocookbook/commit/70488e75f5af38bc8ae76aae5d31dbcc45107f68</url>
  <id>70488e75f5af38bc8ae76aae5d31dbcc45107f68</id>
  <committed-date>2009-10-25T15:16:04-07:00</committed-date>
  <authored-date>2009-10-25T15:16:04-07:00</authored-date>
  <message>add i18n manual page</message>
  <tree>63678fa8ffb69c6c7da744f52b48cbc4fdca46f5</tree>
  <committer>
    <name>Bryan Larsen</name>
    <email>bryan@larsen.st</email>
  </committer>
</commit>
