Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.

:param => true doesn't work on rails3 #1

Open
andreapavoni opened this issue Jul 7, 2010 · 2 comments
Open

:param => true doesn't work on rails3 #1

andreapavoni opened this issue Jul 7, 2010 · 2 comments

Comments

@andreapavoni
Copy link

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.

@goncalossilva
Copy link
Owner

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).

@andreapavoni
Copy link
Author

ok thank you ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants