hakanensari/mongoid-slug — pull request #66 by skyeagle (2012-06-04 13:02:36+00:00)
Title: Fixed slugged_attributes_changed method to work with aliased fields.

Just a point out that `attribute_changed?` method doesn't work with aliased fields.
Rails 3.2.5 console for example:

```ruby
1.9.3p194 :003 > p.title = 'TEST'
=> "TEST"
1.9.3p194 :004 > p.send :slugged_attributes_changed?
=> false
1.9.3p194 :005 > p.slugged_attributes
=> ["title"]
1.9.3p194 :008 > p.send :attribute_changed?, 'title'
=> false
1.9.3p194 :009 > p.send :attribute_changed?, 'ti'
=> true
1.9.3p194 :010 > p.send :title_changed?
=> true

```