Combining Redmine with another Rails application

Hi,

I'd like to add redmine as project management application to be a part of my rails application. Is there anyway to do this instead of manual merging of both codes?