title: Get Fancybox to render Rails partial
body: <p><code>#1</code> This is not working:</p>
  
  <pre><code>$('.someclass').fancybox({
    type: 'ajax',
    href: 'name_of_partial1',
  })
  </code></pre>
  
  <p><code>#2</code> This is working:</p>
  
  <pre><code>$('#some_id').fancybox({
    type: 'ajax',
    href: 'name_of_partial2',
  })
  </code></pre>
  
  <p>Partial 1 and Partial 2 are in the same directory.  #some_id and .some_class are elements on two different actions in the same controller.  </p>
  
  <p>All I want to do is render a partial inside of fancybox, is using the fancybox href option the proper way to call a partial inside of the fancybox?</p>
  
  <p>The error I'm getting with the second one is the fancybox pops up with "The requested content cannot be loaded. Please try again later" and I get a 404 in the console.</p>
  
  <p>When I change the href in #2 to:</p>
  
  <pre><code>href: 'name_of_partial1'
  </code></pre>
  
  <p>Then I see partial 1 get rendered in the fancybox.</p>