RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: chanko
Thanks for the tip!
I have a question about the history feature.
I implemented it on one of my models, but it seems that it only keeps a history of the original slug, even after every edit. Is this how it's supposed to work?
Say I have a title of "Hello World" which generates a slug "hello-world"
If I edit this to "Hello World 2" and then eventually to "Hello World 3", am I supposed to have all 3 history changes, or just the original?
hello-world - original works
hello-world-2 - doesn't work <-- does this not get stored?
hello-world-3 - latest works