Integrating a wiki (built in rails) into a rails application

Hi everyone,

i wish to know how a wiki ( built in rails ) can be integrated into a
rails application? To be more specific, the users of the rails
application should also be valid users of the wiki and should be able to
create, edit, organize pages in the wiki.

Thanks in advance,