search for: old_count

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

Did you mean: old_cont
2006 Jan 04
2
Updating Attributes in a HABTM Join Table
...if an item is joined to a category more than once, I want to record the subsequent hit in a field called "cat_count" which exists in the join table. def add_category( category_id_as_str ) category = Category.find(category_id_as_str.to_i) if self.categories.include?(category) old_count = self.categories.find(category.id).cat_count.to_i self.categories.delete(category) else old_count = 0 end self.categories.push_with_attributes(category, :cat_count => old_count + 1) end It seems like there should be a way to update the join instead of deleting and recreating it. I...
2005 Feb 07
1
Remote MWI via IAX?
We have a couple of Asterisk boxes with one being the main system with everyone's voicemail and the other a slave used merely to link a couple of remote phones to the main system using IAX. How can one propagate message waiting indication from the main system to the remote phones? g.
2006 Feb 20
9
a complex availability problem
Ok, this is a hard one and I just thought I''d see if people on the list had any suggestions on how they would approach this, I''ve not started to implement the rails to handle this yet as I''m still at the paper planning phase. I''m building an app that has to handle availability for travel packages. The complexity comes in that a person can choose a start
2010 Jul 20
1
imap core dumping on signal 10
..._id = 4 file_size = 9223434923765923840 use_mmap = 48 unusable = 116 ret = 112 try = 0 _data_stack_cur_id = 4282335512 index = (struct mail_index *) 0x489 ext_hdr = (const struct mail_index_ext_header *) 0x0 i = 1450816 old_count = 187472 offset = 0 name = 0x70 <Address 0x70 out of bounds> error = 0x7fffffff <Address 0x7fffffff out of bounds> ext_id = 1177832 ext_offset = 1450992 index = (struct mail_index *) 0x70 rec_map = (struct mail_index_record_map *)...
2018 Feb 07
4
BUG: panic when using fs:posix as dict for acl_shared_dict
...6481e754a68} newi = <optimized out> path = <optimized out> username = 0x56481e780980 "USERNAME" prefix = 0x7f64c0b3b126 "shared/shared-boxes/" key = 0x56481e7aac98 "FOLDER" oldi = <optimized out> old_count = <optimized out> old_ids = <optimized out> p = <optimized out> #9 acl_lookup_dict_rebuild (dict=0x56481e776f60) at acl-lookup-dict.c:255 ns = <optimized out> ids_arr = {arr = {buffer = 0x56481e7544a8, element_size = 8}, v = 0x56481e7544a8, v...