-
-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slugs generated 2 times #14
Comments
Thanks for the bug report. I'm working on a fix and will release a new version within a couple hours. |
Great thanks for the quick update Norman ! |
same problem here, all slugs were redone twice in slugs, creating cached_slugs with --2 most of the time :( |
Sorry for the lack of clarity, I think you will need to copy the new rake tasks into your lib/tasks folder. You can find it in your Rubygems root at:
Or, perhaps more conveniently, you can copy it from: http://github.com/norman/friendly_id/raw/2.2.2/lib/tasks/friendly_id.rake |
Hooo, thanks ! |
Sounds to fix the issue ! Thanks a lot Norman for the quick reply, you saved my day ;) |
Great! I'm glad it worked for you. Thanks reporting the issue. |
I was having the same problem and your solution works just fine! Thanks :) |
When I launch rake friendly_id:make_slugs MODEL=MyModel :
I also tried to generate the slugs with send(:set_slug) in the index controller and I get the same result.
This happens whether there is a cached_slug column or not.
When I create a new record, the slug is generated once only.
The text was updated successfully, but these errors were encountered: