title: Rails: If param equals a value syntax
body: <p>I'm trying to check if a param equals a value with this if statement in the view: </p>
  
  <pre><code>&lt;% if param[:knowsifemployermatches] == "Yes" %&gt;show&lt;% end %&gt;
  </code></pre>
  
  <p>But I'm getting this error: </p>
  
  <pre><code>undefined local variable or method `param' for #&lt;#&lt;Class:0x000001070d2688&gt;:0x00000103a8cf88&gt;
  </code></pre>