search for: customer_list

Displaying 5 results from an estimated 5 matches for "customer_list".

2006 Apr 25
0
How to manage one to many within application.
...;/label><br/> <%= text_field ''customer'', ''email'' %> <br> ..... <!--[eoform:customer]--> #customer_new <% @page_title = "New Customer"%> <center><%= link_to ''Back'', :action => ''customer_list'' %></center> <br> <%= start_form_tag :action => ''customer_create'' %> <%= render :partial => ''customer_form'' %> <div id="mydiv"> </div> <%= link_to_remote ("Add Address...
2009 Apr 27
5
ruby jasper report
...Controller#customer_report (for 127.0.0.1 at 2009-04-27 13:19:34) [GET] [4;36;1mSQL (0.0ms) [0m [0;1mSET NAMES ''utf8'' [0m [4;35;1mSQL (0.0ms) [0m [0mSET SQL_AUTO_IS_NULL=0 [0m [4;36;1mCustomer Load (0.0ms) [0m [0;1mSELECT * FROM `customers` [0m Rendering account/customer_list [4;35;1mCustomer Columns (0.0ms) [0m [0mSHOW FIELDS FROM `customers` [0m Rendering account/customer_list Sending data CustomerReport.pdf Completed in 422ms (View: 0, DB: 0) | 200 OK [http://localhost/account/customer_report]" But I am getting an error in "XmlJasperInterface.log&quo...
2008 Feb 22
12
DRY - in controller or model????
Hello. I''m trying to make clean efficient code and would like to find out if there is a "BEST" way to write code. I want this to run quickly and efficiently for my app. I''ve got a form that needs a select list created for new and edit functions. Same list. Do I do this in the controller and reference @list in the forms? def new @list = %w { apple orange banana }
2009 Apr 28
0
Writing an imgae tag in to_xml
Hi, I am trying to create an pdf report by using ruby jasper pages. For that I have written customer_list.rxml file like this: xml.instruct! xml.customer_list_result do xml.invoice_customers do @customers.each do |customer| xml << customer.to_xml(:dasherize=>false,:skip_instruct=>true,:only=>[:id,:name,:city],:root=>"customer") end end end I want to add a...
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: