thinreports-rails icon indicating copy to clipboard operation
thinreports-rails copied to clipboard

Rails Template handler for ThinReports DSL.

Results 6 thinreports-rails issues
Sort by recently updated
recently updated
newest added

以下のように出力させようとしているのですが、Template is missingとなります。 render_to_stringでどのように.thinreportsファイルを指定するのでしょうか? 恐れ入りますがご教授いただけないでしょうか。 ちなみに.thinreports拡張子ではなく、.pdf.thinreports拡張子が適当という認識です。 この二つは何が違うのですか? pdf = render_to_string 'reports/name_card' # 帳票出力 respond_to do |format| format.pdf { send_data pdf, filename: encode_file_name(file_name), type: 'application/pdf', disposition: 'attachment' } end

thinreports-rails v0.5.0 was released but I can't find the tag on GitHub. I'm glad v0.5.0 is there to make it easier to understand and compare the diffs.

Permission denied @ unlink_internal - C:/Users/Oscar/AppData/Local/Temp/temp-image20151113-3152-1m4497i Extracted source (around line #129): send_data report.generate, filename: 'citas_medicas.pdf', type: 'application/pdf', disposition: 'attachment'

ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::ThinReports):

Great product ! I want to keep the reports inside '/app/reports' instead of 'app/views' I added `append_view_path "#{Rails.root}/app/reports"` inside controller, which works fine for "thinreports"-file. But Template can't be find....