<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,43 +3,9 @@ RecordSelect
 
 (c) 2007 - Lance Ivy
 
-This plugin is a streamlined listing tool with a dedicated purpose: to let you select a record from a possibly large record set in a friendly fashion. It will report the selected record(s) to a given method on the controller or to a JavaScript function on the client.
+RecordSelect is a Rails widget to help you pick one record out of many. I designed it as a more usable and performant alternative to generating a massive dropdown list. It relies on AJAX for the cooler uses (all the provided view helpers rely on JavaScript?) but can also function in a pure-http fashion (although multi-select support is provided in a pure-JavaScript implementation).
 
-Included is a +link_to_record_select+ helper to assist with embedding a RecordSelect popup in your page. Also included is a +record_select_field+ helper. This helper ties RecordSelect into your form by making it set a hidden input field. Think of it as a paginated and searchable autocomplete dropdown. Or think of it as a &lt;select&gt; replacement that won't bog down with large recordsets.
-
-To use RecordSelect RESTfully, add the following to your routes.rb:
-
-  map.resources :model_id, :collection =&gt; {:browse =&gt; :get},
-                           :member =&gt; {:select =&gt; :post}
-
-= INSTALL
-1. Install from SVN:
-
-   &lt;tt&gt;./script/plugin install http://recordselect.googlecode.com/svn/trunk&lt;/tt&gt;
-
-2. Then add the css and javascript to your layout by including the following line:
-
-   &lt;tt&gt;&lt;%= record_select_includes %&gt;&lt;/tt&gt;
-
-3. Enable and configure it on a controller.
-
-   &lt;tt&gt;class UsersController &lt; ApplicationController
-     record_select :per_page =&gt; 5, :search_on =&gt; 'username'
-   end&lt;/tt&gt;
-
-= EXAMPLES
-* &lt;tt&gt;&lt;%= link_to_record_select 'Try Me!', 'users', :onselect =&gt; 'alert(&quot;#&quot; + id + &quot;: &quot; + label)' %&gt;&lt;/tt&gt;
-
-  Creates a link that toggles a list of users. When clicked, it alerts the id and label of the user.
-
-* &lt;tt&gt;&lt;%= record_select_field 'user[user_group]', (@user.user_group || UserGroup.new) %&gt;&lt;/tt&gt;
-
-  Creates a searchable dropdown of user groups on your user form.
-
-= COMING SOON
-* Keyboard navigation (up/down/enter)
-* Support for multi-select: better interface, standard view helpers.
-* Automated tests. Maybe. Talk about a huge blind spot in my knowledge base...
+Please see the ActionView::Helpers::RecordSelectHelpers for the most common API. More documentation (and HOWTOs) can be found online at http://code.google.com/p/recordselect, and a demo application is available at http://recordselect.googlecode.com/svn/demo.
 
 = DEPENDENCIES
 This depends on the excellent Paginator gem by Bruce Williams. This simple gem is available at paginator.rubyforge.org.
\ No newline at end of file</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -35,10 +35,11 @@ module ActionView # :nodoc:
       # *Arguments*
       # +name+:: the input name that will be used to submit the selected record's id.
       # +current+:: the currently selected object. provide a new record if there're none currently selected and you have not passed the optional :controller argument.
-      # +options+::
-      # * +controller+::  The controller configured to provide the result set. Optional if you have standard resource controllers (e.g. UsersController for the User model), in which case the controller will be inferred from the class of +current+ (the second argument)
-      # * +params+::      A hash of URL parameters
-      # * +id+::          The id to use for the input. Defaults based on the input's name.
+      #
+      # *Options*
+      # +controller+::  The controller configured to provide the result set. Optional if you have standard resource controllers (e.g. UsersController for the User model), in which case the controller will be inferred from the class of +current+ (the second argument)
+      # +params+::      A hash of URL parameters
+      # +id+::          The id to use for the input. Defaults based on the input's name.
       def record_select_field(name, current, options = {})
         options[:controller] ||= current.class.to_s.pluralize.underscore
         options[:params] ||= {}
@@ -65,10 +66,11 @@ module ActionView # :nodoc:
       # *Arguments*
       # +name+:: the input name that will be used to submit the selected records' ids. empty brackets will be appended to the name.
       # +current+:: pass the current values in Rails' standard [[id, label], [id, label]] format.
-      # +options+::
-      # * +controller+::  The controller configured to provide the result set. Optional if you have standard resource controllers (e.g. UsersController for the User model), in which case the controller will be inferred from the class of +current+ (the second argument)
-      # * +params+::      A hash of URL parameters
-      # * +id+::          The id to use for the input. Defaults based on the input's name.
+      #
+      # *Options*
+      # +controller+::  The controller configured to provide the result set. Optional if you have standard resource controllers (e.g. UsersController for the User model), in which case the controller will be inferred from the class of +current+ (the second argument)
+      # +params+::      A hash of URL parameters
+      # +id+::          The id to use for the input. Defaults based on the input's name.
       def record_multi_select_field(name, current, options = {})
         options[:controller] ||= current.first.class.to_s.pluralize.underscore
         options[:params] ||= {}</diff>
      <filename>lib/helpers.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>81a89e098f31c7e7dcc1019e0adb8c1bd221202e</id>
    </parent>
  </parents>
  <author>
    <name>Lance Ivy</name>
    <email>lance@cainlevy.net</email>
  </author>
  <url>http://github.com/edwinmoss/recordselect/commit/696ef21ef8642bd2bdabdf30871fffc30436aefa</url>
  <id>696ef21ef8642bd2bdabdf30871fffc30436aefa</id>
  <committed-date>2007-08-19T15:46:30-07:00</committed-date>
  <authored-date>2007-08-19T15:46:30-07:00</authored-date>
  <message>a little documentation cleanup</message>
  <tree>cc5a816ad667101b97f7756e56f291e818796b6e</tree>
  <committer>
    <name>Lance Ivy</name>
    <email>lance@cainlevy.net</email>
  </committer>
</commit>
