Integrating wagn into a rails application

Hi,

 

i wish to know how Wagn can be integrated into a

rails application? To be more specific, the users of the rails

application should also be valid users of the Wagn and should be able to

create, edit, organize pages in the wiki.