title: Cypher query and Ruby on Rails
body: <p>I have a Cypher query like this: </p>
  
  <pre><code>start n=node(*) match n-[:has_comments]-&gt;(m) return n,m;
  </code></pre>
  
  <p>which runs ok.
  How can I run this from RoR?
  When using Postgres and ActiveModel, in the controller I was able to do use something like this.</p>
  
  <pre><code>@query = "SELECT * FROM &lt;table&gt; WHERE &lt;condition&gt;;"
  @result = &lt;ClassName&gt;.connection.execute(@query)
  </code></pre>
  
  <p>And after that I processed @result any way I wanted.</p>