permalink_fu
permalink_fu copied to clipboard
:param => true doesn't work on rails3
used this line in a model: has_permalink :title, :update => true, :param => true
but it doesn't work as expected, links generated still have id as key. added to_param method and it works.
have I mispelled something?
thank you in advance, a.
You haven't misspelled at all, it's "my fault". When I updated the gem I left out the "param" option. I'll add it back in soon. Until then, please keep the "to_param" method in your model.
I'll notify when I update it (the documentation needs an overhaul as well).
ok thank you ;)