- only look for a new unique slug if the existing slugs contains the current slug (digitalplaywright)
- e.g if the slug 'foo-2' is taken, but 'foo' is available, the user can use 'foo'.
- #76 Cleanup of callback handling (empact)
- Fixed broken #find al (Alan Larkin)
- Only Mongoid 3.0 syntax is supported (digitalplaywright)
- Store all slugs in a single field of array type (digitalplaywright)
- Removed the ':as' feature (digitalplaywright)
- Renamed slug field to _slugs (digitalplaywright)
- Slugs are indexes by default and removed the :index option (digitalplaywright)
- Reserved words should default to :new and :edit (digitalplaywright)
- Removed find_by_slug (digitalplaywright)
- Add
#find_by_slug!
al (Alan Larkin)
- Add .find_unique_slug_for and #find_unique_slug_for methods DouweM (Douwe Maan)
- Ensure uniqueness of slug set manually DouweM (Douwe Maan)
- Add support for reserved slugs siong1987 (Teng Siong Ong) DouweM (Douwe Maan)
- Add support for keeping a history of slugs DouweM (Douwe Maan)
- Add by_slug(slug) scope DouweM (Douwe Maan)
- Allow set slug on aliased field eagleas (Alexander Oryol)
- Allow overriding of slug at model creation time. (Brian McManus)
- Bump version of Stringex dependency.
- Generate a slug when an existing document does not have one. Should come in handy when adding slug module to models with existing data.
- No longer necessary to require library in Gemfile (Konstantin Shabanov)
- Fix bug concerning slugs with double-digit counters. (Jean Bredeche)
- Remove #slug!. The method is of limited value.
- Add
#find_by_slug!
. (Alex Sharp)
- Library no longers hit database multiple times to find unique slug when duplicates exist. (tiendung - Alex N.)
- Slug now can be given an optional block to build a custom slug out of the specified fields.
- Add :any option to use first present field when multiple fields are slugged (Nader Akhnoukh)
- Mongoid no longer requires that emmbedded_in pass :inverse_of option sporkd (Peter Gumeson)
- Add #slug! to generate slug for an existing document.
- Add support for STI models. dmathieu (Damien Mathieu)
- Fix internals to work with Mongoid RC.
- Finder is now dynamic.
- Add support for scoping by reference association. ches (Ches Martin)
- Bring indexing back in as an option.
- Add support for non-Latin languages. etehtsea (Konstantin Shabanov)
- Remove :scoped. Embedded objects are now scoped by parent by default.
- Add finder method.
- To be found in the dustbin of git log.