title: Rails - Faye pushing data
body: <p>I dont know how to publish some data from rails server, I would like to do similar like in js</p>
  
  <pre><code>var publication = client.publish('channel', {data});
  </code></pre>
  
  <p>I found someting like that:</p>
  
  <pre><code>engine.publish(message, channels)
  </code></pre>
  
  <p>but dont know how to use it </p>