title: Rails 4 "Template is missing" error with jasper-rails gem
body: <p>I have installed the jasper-rails 1.0.3 and followed the instructions as per <a href="https://github.com/fortesinformatica/jasper-rails" rel="nofollow">https://github.com/fortesinformatica/jasper-rails</a>. My java installation is fine.</p>
  
  <p>Here is my controller code:</p>
  
  <pre><code>class ReportsController &lt; ApplicationController
    respond_to :html, :xml, :pdf
  
    def index
      @council_report = CouncilReport.find(params[:council_report_id])
    end
  
    def proposed_works_summary
      @council_report = CouncilReport.find(params[:council_report_id])
      @proposed_works_summary = proposed_works_summary_data(@council_report.id)
      respond_with @proposed_works_summary
    end
  end
  </code></pre>
  
  <p>My routes.rb:</p>
  
  <pre><code>...
  resources :reports, only: [:index] do
    member do
      get 'proposed_works_summary'
    end
  end
  ...
  </code></pre>
  
  <p>Here is the error in the browser:</p>
  
  <blockquote>
    <p>Template is missing</p>
    
    <blockquote>
      <p>Missing template reports/proposed_works_summary, application/proposed_works_summary with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee]}. Searched in: * "d:/Users/Michael/Documents/Aptana Workspace/cam/app/views"</p>
    </blockquote>
  </blockquote>
  
  <p>Now I obviously have a proposed_works_summary.jrxml iReport file and I have set the queryString as follows:</p>
  
  <pre><code>&lt;queryString language="XPath"&gt;
      &lt;![CDATA[/reports/proposed_works_summary]]&gt;
  &lt;/queryString&gt;
  </code></pre>
  
  <p>I have examined the demo <a href="https://github.com/fortesinformatica/jasper-rails-demo" rel="nofollow">https://github.com/fortesinformatica/jasper-rails-demo</a> in detail and can't see what I am missing. A little help please?</p>