title: Check if Javascript is Enabled (Serverside) with Rails
body: <p>How would you check if javascript is enabled in Rails?  So that I could do something like this in the views:</p>
  
  <pre><code>&lt;div&gt;
      &lt;% if javascript_enabled? %&gt;
      &lt;p&gt;Javascript Enabled!&lt;/p&gt;
      &lt;%- else -%&gt;
      &lt;p&gt;No Javascript&lt;/p&gt;
      &lt;%- end -%&gt;
  &lt;/div&gt;
  </code></pre>