Maybe looking at working examples might help you as well. I do not know wiki tutorial for rails, but know about these wiki solutions, written on the top of rails and without rails, but written in ruby:
- irwi is a complete wiki plugin for Ruby on Rails
- instiki - another wiki running on rails
- riki wiki - this is fun: it was written in ruby for the shortest wiki contest, it is not documented, but the code might explain itself