has_permalink
has_permalink copied to clipboard
SEO Permalink Plugin for Ruby on Rails
When the model is updated, the current where clause checks against all permalinks for the model including its own ID which will always return true. Therefore it should be excluded...
On this line https://github.com/olkarls/has_permalink/blob/master/lib/has_permalink.rb#L56 the permalink searches for itself so if you update a model, it always appends a number which isn't correct. Instead the 'where' clause should tell it...
Hi, I used has_permalink in one of my Rails application. I defined a custom method to generate permalink for Model. For some records it is generating same permalink. So, how...
If my `title` has content and my `permalink` field is `nil`.. it does not generate the permalink. I try from the console many things and it just does not work...