Creating front end in RoR of already done DB. need help.

In this link below almost at then end it shows the mysql Schema.. http://jabberd2.xiaoka.com/wiki/InstallGuide/Jabberd2Architecture

Unfurtunally this is hard coded so I can't create my own table names etc.. how can I or what will I need to add to those tables to make it RoR compatible? as of now I get mysql errors when I run rake db:migrate

thanks.