# Communication between Rails Projects?

**URL:** <https://www.ruby-forum.com/t/communication-between-rails-projects/107974>\
**Category:** Rails\
**Created:** [June 27, 2007, 11:40pm UTC](https://www.ruby-forum.com/t/communication-between-rails-projects/107974 "2007-06-27T23:40:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![msnapper](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a587f6/32.png) [@msnapper](https://www.ruby-forum.com/u/msnapper)\
**Post date:** [June 27, 2007, 11:40pm UTC](https://www.ruby-forum.com/t/communication-between-rails-projects/107974/1 "2007-06-27T23:40:01Z")

</div>

Hello,

I have two Rails projects running on a single (clustered) host. What  
the best way is for one project to access methods on the other  
project?

My initial thought was to use something like Druby to make direct  
calls to methods on the other project (if that is even possible). I  
was also considering using web services or a REST interface, but is it  
overkill to make HTTP calls when both projects are hosted in the same  
place? Or can one project access another project’s Rails environment?

Please let me know if I am on the right track or if anyone has a  
better idea.

Thanks,  
Peter
