title: Using wildcard operator in quotes in Ruby?
body: <p>I would like to set a before filter in a rails app as follows:</p>
  
  <pre><code>before_filter :set_instance_variables, :unless =&gt; :active_pages?
  
  def active_pages?
    params[:controller] == "admin/*"
  end
  </code></pre>
  
  <p>where I would like it to have the * represent any word so that the method is checking against any of the controllers that start with 'admin/'.  I thought the asterisk might be a wild card and work, but it doesn't seem to be working.  How can I accomplish this?</p>