Skip to content
This repository

friendly_id_slugs rows will add only on Create #224

Closed
csph8 opened this Issue February 03, 2012 · 2 comments

2 participants

csph8 Norman Clarke
csph8

Hi,

In my model I have code like this way
friendly_id :title, :use =>[:slugged, :history]

whenever I create new Post, new row will be added to friendly_id_slugs table, if I update existing page further time, rows are not at all created in friendly_id_slugs table.

http://localhost:3000/posts/one(WORK)
http://localhost:3000/posts/two(NOT WORK)
http://localhost:3000/posts/three(WORK--latest one)

How can I fix this issue?

Please let me know.

Regards,
Pradeep CS

Norman Clarke
Owner

Please try the friendly_id from git master, this problem has already been fixed there. A new version with this fix included will be released next week.

Norman Clarke norman closed this February 03, 2012
csph8

Thank You very much.
Its work fantastic!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.