<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -203,10 +203,10 @@ module Camping
     #   &lt;/div&gt;
     #
     def R(c,*g)
-      p=/\(.+?\)/
-      g.inject(c.urls.find{|x|x.scan(p).size==g.size}.dup){|s,a|
+      p,h=/\(.+?\)/,g.grep(Hash)
+      (g-=h).inject(c.urls.find{|x|x.scan(p).size==g.size}.dup){|s,a|
         s.sub p,C.escape((a[a.class.primary_key]rescue a))
-      }
+      }+(h.any?? &quot;?&quot;+h[0].map{|x|x.map{|z|C.escape z}*&quot;=&quot;}*&quot;&amp;&quot;: &quot;&quot;)
     end
 
     # Shows AR validation errors for the object passed. </diff>
      <filename>lib/camping-unabridged.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,8 +1,9 @@
 %w[active_support markaby tempfile uri].map{|l|require l}
 module Camping;Apps=[];C=self;S=IO.read(__FILE__).sub(/S=I.+$/,'')
-P=&quot;Cam\ping Problem!&quot;;module Helpers;def R c,*g;p=/\(.+?\)/;g.inject(c.
-urls.find{|x|x.scan(p).size==g.size}.dup){|s,a|s.sub p,C.escape((a[
-a.class.primary_key]rescue a))}end;def URL c='/',*a;c=R(c,*a)if c.
+P=&quot;Cam\ping Problem!&quot;;module Helpers;def R(c,*g);p,h=/\(.+?\)/,g.grep(Hash)
+(g-=h).inject(c.urls.find{|x|x.scan(p).size==g.size}.dup){|s,a|s.sub p,C.
+escape((a[a.class.primary_key]rescue a))}+(h.any?? &quot;?&quot;+h[0].map{|x|x.map{|z|C.
+escape z}*&quot;=&quot;}*&quot;&amp;&quot;: &quot;&quot;)end;def URL c='/',*a;c=R(c,*a)if c.
 respond_to?:urls;c=self/c;c=&quot;//&quot;+@env.HTTP_HOST+c if c[/^\//];URI(c)end;def/p
 p[/^\//]?@root+p : p end;def errors_for o;ul.errors{o.errors.each_full{|x|li x}
 }if o.errors.any?end end;module Base;include Helpers;attr_accessor:input,</diff>
      <filename>lib/camping.rb</filename>
    </modified>
    <modified>
      <diff>@@ -146,13 +146,7 @@ class Reloader
                     Camping::Models::Base.logger = Logger.new(@log == &quot;-&quot; ? STDOUT : @log)
                 end
 
-                begin
-                    Camping::Models::Session.create_schema
-                rescue MissingSourceFile
-                    puts &quot;** #$0 stopped: SQLite3 not found, please install.&quot;
-                    puts &quot;** See http://code.whytheluckystiff.net/camping/wiki/BeAlertWhenOnSqlite3 for instructions.&quot;
-                    exit
-                end
+                Camping::Models::Session.create_schema
 
                 if @database and @database[:adapter] == 'sqlite3'
                     begin</diff>
      <filename>lib/camping/reloader.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>864472ec690caf06a30f7ce56c8c4e7fd930fe83</id>
    </parent>
  </parents>
  <author>
    <name>_why</name>
    <email>why@whytheluckystiff.net</email>
  </author>
  <url>http://github.com/judofyr/camping/commit/696e702fffcc2bd93ab5471ac378c5b4ae063586</url>
  <id>696e702fffcc2bd93ab5471ac378c5b4ae063586</id>
  <committed-date>2007-01-06T10:45:38-08:00</committed-date>
  <authored-date>2007-01-06T10:45:38-08:00</authored-date>
  <message> * lib/camping.rb: added query-string building to `R()`.
 * lib/camping-unabridged.rb: ditto.
 * lib/camping/reloader.rb: that sqlite3 message is appearing when other drivers are used with the reloader.</message>
  <tree>eb773bb1ca5527ae0fc74e237da52c54764a1c6c</tree>
  <committer>
    <name>_why</name>
    <email>why@whytheluckystiff.net</email>
  </committer>
</commit>
