search for: record_count

Displaying 8 results from an estimated 8 matches for "record_count".

Did you mean: records_count
2008 Apr 26
0
moving pagination code to model
...- 1) * items_per_page # step 2: instead of performing the full find, just find the record count @search_sd_ticket_count_result = ServiceDeskTicket.find_where(:all,:select=>''count(*) as count1'' ) do |sd| end record_count=@search_sd_ticket_count_result[0].count1.to_i # step 3: create a Paginator, the second variable has to be the number of ALL items on all pages @search_sd_ticket_result_pages = Paginator.new(self, record_count, items_per_page, page) # step 4: only find the reque...
2008 May 19
0
changed to will_paginate
...sd.primary_assignee== @sd_ticket_primary_assignee sd.created_on <=> (@sd_ticket_start_date..@sd_ticket_end_date) if !@sd_ticket_start_date==nil and !@sd_ticket_end_date==nil end record_count=@search_sd_ticket_count_result[0].count1.to_i # step 3: create a Paginator, the second variable has to be the number of ALL items on all pages @search_sd_ticket_result_pages = Paginator.new(self, record_count, items_per_page, page) # step 4: only find the reque...
2008 Mar 06
1
pagination for an object array
...;'count(*) as count1'' ) do |sd| sd.number.downcase =~ "%"+@sd_ticket_number.downcase+"%" if !@sd_ticket_number.nil? sd.name== @sd_ticket_name end record_count = @search_sd_ticket_count_result[0].count1.to_i # step 3: create a Paginator, the second variable has to be the number of ALL items on all pages @search_sd_ticket_result_pages = Paginator.new(self, record_count, items_per_page, page) # step 4: only find the req...
2006 Jan 31
11
ez_where plugin updated features.
Friends- I wanted to let people know that there is a new experimental release of this plugin. I would love feedback on syntax and features. There is now a full test suite with fixtures that covers all the available syntax. Look at the test suite for more syntax possibilities. There have been many additions since my last release. Fabien Atelier has been working on this with me and has
2006 Sep 27
0
To render or redirect
...ch.valid? @homes = Home.find(:all, :conditions=> (@search_conditions)) if @homes.empty? flash_message ''Your search has returned no results. Please revise your search critera.'' render :action => ''search'' else @record_count = Home.count(@search_conditions) render :action => ''search_results'' end else render :action => ''search'' end end end There is just one little problem that my users are complaining about. They fill in the search form and...
2013 Sep 19
1
Index error copying compressed message
...4 -- Keywords -- -- CACHE: /mail/index01/434/860/grain at rp-auth-test.com/.Bup//dovecot.index.cache major version ........ = 1 minor version ........ = 1 indexid .............. = 1379605150 (2013-09-19 15:39:10) file_seq ............. = 1379605174 (2013-09-19 15:39:34) (24 compressions) continued_record_count = 0 record_count ......... = 0 used_file_size (old) . = 108 deleted_record_count . = 0 field_header_offset .. = 32 (0x88808080 nontranslated) -- Cache fields -- # Name Type Size Dec Last used 0: flags bit 4 tmp...
2018 Feb 23
2
Assertion during dsync receive
...ield_idx = 30, size = 237, data = 0x7fc1f8decc68, offset = 1627311208} view = 0x1c1a620 hdr = {major_version = 1 '\001', compat_sizeof_uoff_t = 8 '\b', minor_version = 1 '\001', unused = 0 '\000', indexid = 1519395846, file_seq = 1519396173, continued_record_count = 0, record_count = 1217766, backwards_compat_used_file_size = 0, deleted_record_count = 0, field_header_offset = 0} output = 0x1c462e0 ext_offset = 1554079344 record_count = <optimized out> max_drop_time = <optimized out> ctx = {cache = 0x1c14790...
2012 Dec 10
26
[PATCH 00/11] Add virtual EPT support Xen.
From: Zhang Xiantao <xiantao.zhang@intel.com> With virtual EPT support, L1 hyerpvisor can use EPT hardware for L2 guest''s memory virtualization. In this way, L2 guest''s performance can be improved sharply. According to our testing, some benchmarks can show > 5x performance gain. Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> Zhang Xiantao (11):