Exercise in creating a permalink gem