<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -38,7 +38,7 @@ module Authorize
         re = /(\w+)\s(?:#{PREPOSITIONS.join('|')})\s(\w+)|\b(?!#{BOOLEANS.join('|')})(\w+)\b/
         string.gsub(re) do |match|
           params = [$1, $2, $3].compact
-          process_term(*params).to_s
+           &quot;process_term('#{params.join(&quot;','&quot;)}')&quot;
         end
       end
 </diff>
      <filename>lib/parser.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3de0e6c97316eceb6f1a66188bbf52cfa489123f</id>
    </parent>
  </parents>
  <author>
    <name>Chris Hapgood</name>
    <email>cch1@hapgoods.com</email>
  </author>
  <url>http://github.com/cch1/authorize/commit/cf7942e990df74d6459843b9dd6ec019b7dd8619</url>
  <id>cf7942e990df74d6459843b9dd6ec019b7dd8619</id>
  <committed-date>2009-04-22T13:21:34-07:00</committed-date>
  <authored-date>2009-04-22T13:21:34-07:00</authored-date>
  <message>Delay processing of auth terms via #process_term until eval is performed

By letting Ruby's instance_eval handle a more complex authorization
expression, we can exploit boolean short-circuiting and avoid costly
database queries.</message>
  <tree>70efd838aa82523e0e7e937cb0b06ebd40267ece</tree>
  <committer>
    <name>Chris Hapgood</name>
    <email>cch1@hapgoods.com</email>
  </committer>
</commit>
