<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -56,23 +56,10 @@ end
 
 * If the `sync_slug` option is set to true, the `source_column` will _always_ be sluggified upon updating the record.  This means that the slug will not be able to be manually edited, but will always be synchronized to the `source_column`.
 
-* If the `scope` option is set to a column, models with different parents can have the same slug (useful with nested resources)
-
-&lt;pre&gt;
-class  &lt; ActiveRecord::Base
-   has_slug
-end
-
-class Chapter &lt; ActiveRecord::Base
-   has_slug :scope =&gt; :article_id
-end
-&lt;/pre&gt;
-N.B.: don't miss the `_id`, scope use a column not a model
-
 ## TODO
 
 * Add a word/regexp blacklist, so that they are sliced out of a string when sluggified (for example to remove .com, .net, etc)
 
 ---
 Copyright (c) 2008 Norbauer Inc, released under the MIT license
-&lt;br/&gt;Written by Jonathan Dance, Jose Fernandez and Florent Monbillard
+&lt;br/&gt;Written by Jonathan Dance and Jose Fernandez</diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -10,7 +10,6 @@ module Slug
     source_column = options[:source_column] || 'title'
     prepend_id = options[:prepend_id].nil? ? true : options[:prepend_id]
     sync_slug = options[:sync_slug].nil? ? false : options[:sync_slug]
-    scope_column = options[:scope] if options[:scope]
     
     write_inheritable_attribute :slug_column, slug_column  
     write_inheritable_attribute :slug_prepend_id, prepend_id  
@@ -18,7 +17,7 @@ module Slug
     class_inheritable_reader :slug_column
     class_inheritable_reader :slug_prepend_id
     
-    validates_uniqueness_of slug_column, :scope =&gt; scope_column
+    validates_uniqueness_of slug_column, :unless =&gt; :slug_prepend_id
     
     before_validation { |record| record[slug_column] = (sync_slug || record[slug_column].blank?) ? sluggify(record.send(source_column)) : sluggify(record[slug_column]) }  
   end</diff>
      <filename>lib/slug.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>fe06c8d6a041c36bb8e7173d923c9da74c991793</id>
    </parent>
  </parents>
  <author>
    <name>Jose Fernandez</name>
    <email>jose@umn.edu</email>
  </author>
  <url>http://github.com/norbauer/salty_slugs/commit/6dc789d08da55228974d4a502a36e6c256a57dd9</url>
  <id>6dc789d08da55228974d4a502a36e6c256a57dd9</id>
  <committed-date>2008-09-30T08:38:03-07:00</committed-date>
  <authored-date>2008-09-30T08:38:03-07:00</authored-date>
  <message>Revert &quot;added scope column: 2 models can have the same slug if their parent models are different&quot;.  Reverted until tests are added for this new feature

This reverts commit d8e51314d50b24beb95c74670eb8f785e088f475.</message>
  <tree>c56838b432c4908af3b73fef7817214ca042c47c</tree>
  <committer>
    <name>Jose Fernandez</name>
    <email>jose@umn.edu</email>
  </committer>
</commit>
