Displaying 6 results from an estimated 6 matches for "generate_reports".
Did you mean:
  generate_report
  
2008 Sep 15
2
Passing an array into controller
...eing read as a single string and not an
array.
The Javascript function:
function sendtolist(formName){
var form = $(formName)
var checked = []
checked = form.getInputs("checkbox","plans[]").findAll(function(item)
{ return item.checked; }).pluck("value");
action="/generate_reports/advanced_plan_summary"
window.location.href=action+"?plans[]="+checked
}
The controller is:
def advanced_plan_summary
    @ids = params[:plans]
    @ids = @ids.split('','')
    @plans = Plan.find(@ids.to_a)
    if @plans[0].nil?
      flash[:warning] = "Advance...
2010 Jun 03
1
need to save generated pdf in public folder
hai
im ruby on rails developer, im integrating princely plugin and prince
software to my rails application
i have generated pdf file successfully using the following code
 princely = Princely.new()
      html_string = render_to_string(:template => ''test_methods/
visual_test/generate_report.rhtml'', :layout=> false)
     send_data(
      
2007 Jun 07
6
Can't download files with send_data or send_file
I have a form_remote_tag that calls a method to print out a csv file
for download.  If I tell the form_remote_tag to update a div the data
comes up in that div, but otherwise I can''t  get the browser to
acknowledge the sent file.
>From view:
   <%= form_remote_tag :url => {:action => "csv_dump" }%>
   <%= submit_tag "Download Complete List" ,:name
2009 Apr 27
5
ruby jasper report
Hi,
I am trying to create a pdf using ruby jasper.
For this I  am referring  this url:-
http://oldwiki.rubyonrails.org/rails/pages/howtointegratejasperreports
I have done everything whatever is in that link.
Still I am not able to get the pdf. I am not getting any error in log
file. My log file is:-
"Processing AccountController#customer_report (for 127.0.0.1 at
2009-04-27 13:19:34) [GET]
 
2017 Jun 19
8
Next steps for optimization remarks?
Hello all,
In https://www.youtube.com/watch?v=qq0q1hfzidg, Adam Nemet (cc'ed)
describes optimization remarks and some future plans for the project. I had
a few follow-up questions:
1. As an example of future work to be done, the talk mentions expanding the
set of optimization passes that emit remarks. However, the Clang User
Manual mentions that "optimization remarks do not really make
2008 Jan 18
63
Jasper reports and iReport
Has anyone succeeded in producing Rails reports using jasper reports?
I have prepared reports directly with Jasper''s iReport tool using my
MySQL data.  It is a very powerful reporting tool.  The reports look
greate.
But I have not been able to produce the reports from my Rails
application.  I have followed the instructions provided at: