<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -67,7 +67,7 @@ module ThoughtBot # :nodoc:
         klass = model_class
         attributes.each do |attribute|
           attribute = attribute.to_sym
-          should &quot;require unique value for #{attribute}#{&quot; scoped to #{scope.join(', ')}&quot; if scope}&quot; do
+          should &quot;require unique value for #{attribute}#{&quot; scoped to #{scope.join(', ')}&quot; unless scope.blank?}&quot; do
             assert existing = klass.find(:first), &quot;Can't find first #{klass}&quot;
             object = klass.new
             </diff>
      <filename>lib/shoulda/active_record_helpers.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>fa21ea937436aa2f02fcea830da218616b149d59</id>
    </parent>
  </parents>
  <author>
    <name>Mike Boone</name>
    <email>mike@boonedocks.net</email>
  </author>
  <url>http://github.com/boone/shoulda/commit/7e96fc577e3ef8bcce0d2b16d657e46acec092b6</url>
  <id>7e96fc577e3ef8bcce0d2b16d657e46acec092b6</id>
  <committed-date>2008-06-07T12:12:14-07:00</committed-date>
  <authored-date>2008-06-07T12:12:14-07:00</authored-date>
  <message>Corrected to hide scope when scope array is blank.</message>
  <tree>c1f86cda2ad2a98161ff9b7ca6d89cdfa5734f01</tree>
  <committer>
    <name>Mike Boone</name>
    <email>mike@boonedocks.net</email>
  </committer>
</commit>
