title: How can I send text to from one route (/client/1) to another route (/client/2) using ajax in rails?
body: <p>I am making a simple rails (4) application and realize that I really need to send text to each other who sit on different routes (/client/1 and /client/2) without reloading the page. 
  This is what I got so far. </p>
  
  <ul>
  <li><p>route (/client/1) 
  there is an input tag and I made this form with rails form helper to send XHR request to the associated controller </p></li>
  <li><p>In the controller, I grab the text by params and assigned it to an variable </p></li>
  <li><p>I made a js file named after the action and append the variable into a tag </p></li>
  </ul>
  
  <p>This is working in  client/1 but I cannot figure out how to send the text to another route (/client/2).</p>
  
  <p>Please help me to make this possible.</p>
  
  <p>I appreciate your help in advance. </p>
  
  <p>Thanks !!</p>