<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.gitignore</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -16,12 +16,12 @@ module RecordSelect
       @page = pager.page(params[:page] || 1)
 
       respond_to do |wants|
-        wants.html { render_record_select '_browse.html', :layout =&gt; true }
+        wants.html { render_record_select :partial =&gt; '_browse.rhtml', :layout =&gt; true }
         wants.js {
           if params[:update]
-            render_record_select 'browse.rjs'
+            render_record_select :action =&gt; 'browse.rjs'
           else
-            render_record_select '_browse.rhtml'
+            render_record_select :partial =&gt; '_browse.rhtml'
           end
         }
         wants.yaml {}
@@ -51,7 +51,7 @@ module RecordSelect
 
     def render_record_select(file, options = {}) #:nodoc:
       options[:layout] ||= false
-      options[:file] = record_select_path_of(file)
+      options[:file] = record_select_path_of(file[:partial] || file[:action])
       options[:use_full_path] = false
       render options
     end
@@ -63,7 +63,7 @@ module RecordSelect
     end
 
     def record_select_path_of(template)
-      File.join(RAILS_ROOT, record_select_views_path, template)
+      File.join(Rails.root, record_select_views_path, template)
     end
   end
 end
\ No newline at end of file</diff>
      <filename>lib/record_select/actions.rb</filename>
    </modified>
    <modified>
      <diff>@@ -83,4 +83,4 @@ module RecordSelect
       c.empty? ? nil : c.collect{|c| ActiveRecord::Base.send(:sanitize_sql, c)}.join(' AND ')
     end
   end
-end
+end
\ No newline at end of file</diff>
      <filename>lib/record_select/conditions.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f736ba1d036cd3d0593977f25584efe04b8b8e96</id>
    </parent>
  </parents>
  <author>
    <name>Edwin Moss</name>
    <email>edwin.moss@gmail.com</email>
  </author>
  <url>http://github.com/edwinmoss/recordselect/commit/2b5657d2f720c62eafeda1a823a5322eebb07588</url>
  <id>2b5657d2f720c62eafeda1a823a5322eebb07588</id>
  <committed-date>2008-11-04T13:18:18-08:00</committed-date>
  <authored-date>2008-11-04T13:18:18-08:00</authored-date>
  <message>Upgraded to Rails 2.x</message>
  <tree>9de151df6eeff6af4f2c50f81aafab0527126875</tree>
  <committer>
    <name>Edwin Moss</name>
    <email>edwin.moss@gmail.com</email>
  </committer>
</commit>
