<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -130,6 +130,12 @@ class Result &lt; ActiveRecord::Base
   def find_racers(_event = event)
     matches = Set.new
 
+    # use license first if more reliable
+    if SANCTIONING_ORGANIZATIONS.include?(&quot;USA Cycling&quot;)
+      matches = matches + Racer.find_all_by_license(license)
+      return matches if matches.size == 1
+    end if
+    
     # name
     matches = matches + Racer.find_all_by_name_or_alias(first_name, last_name)
     return matches if matches.size == 1</diff>
      <filename>app/models/result.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2889383b63b01798dba0a6dfbb188095aa6c69e9</id>
    </parent>
  </parents>
  <author>
    <name>Ryan Rickerts</name>
    <email>ryan@rocketdesigns.net</email>
  </author>
  <url>http://github.com/scottwillson/racing_on_rails/commit/9dd551aad09dd2a3a91a0e54d600d760fed14957</url>
  <id>9dd551aad09dd2a3a91a0e54d600d760fed14957</id>
  <committed-date>2009-05-28T22:00:10-07:00</committed-date>
  <authored-date>2009-05-28T22:00:10-07:00</authored-date>
  <message>Looking for racers by license first on results import</message>
  <tree>b756732a616d127c6cf93b5d8a390e2a00c3523b</tree>
  <committer>
    <name>Ryan Rickerts</name>
    <email>ryan@rocketdesigns.net</email>
  </committer>
</commit>
