GitHub User: neezer
Nevermind... just figured out that I was passing in user instead of user.id.
Is there anyway for me to use both friendly_id and the record id? I'd like to use friendly_id in my consumer-facing URLs, but the record id in my admin URLs... is there anyway to do that?
EDIT: Ok, I see that I can manually change the parameter in the URL, and it still works as expected.. but my path helpers all use the friendly id, e.g.:
edit_admin_user_path(user.id) #=> /users/some-friendly-id/edit
How can I get this?
edit_admin_user_path(user.id) #=> /users/4/edit
edit_user_path(user.id) #=> /users/some-friendly-id/edit