README.markdown in sluggable_finder-2.2.2 vs README.markdown in sluggable_finder-2.3.0

- old
+ new

@@ -66,9 +66,17 @@ If you're using Integer-like strings in your slug column, you can ignore integer ID lookup completely with: class Comment < ActiveRecord::Base sluggable_finder :title, :allow_integer_ids => false end + +### Single Table Inheritance (STI) + +Slug uniqueness will be checked accross all classes in STI models. If you want to scope by sub-class, use :ignore_sti + + class Comment < SomeParentClass + sluggable_finder :title, :ignore_sti => true + end ### Controllers You can do Model.find(slug) just how you would with a single numerical ID. It will also raise a RecordNotFound exception so you can handle that in your application controller. The idea is that you keep your controller actions clean and handle Not Found errors elsewhere. You can still use Model.find the regular way. \ No newline at end of file