search for: assoic

Displaying 14 results from an estimated 14 matches for "assoic".

Did you mean: assoc
2010 Feb 01
3
validating both sides of a has_one relationship breaks pickle/machinist tests
...new" and "save" ...though I it sounds like the destroy will cause a problem. http://mohammed.morsi.org/blog/taxonomy/term/29 is there a workaround for tests? or is this a bad idea from the start? Nevertheless, It seems to me that while a noble goal -- to validate both sides of the assoication. How else to do it? thanks? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email t...
2005 Apr 07
1
Assigning "dates" attribute
...ta set in .csv format. I used read.csv to import the data into R, as follows: x <- read.csv("data.csv", header = TRUE, sep = ",") The data points have a 'dates' attribute, which is in a separatel .csv file. I used the same command as above to import it into R. To assoicate the 'dates' attribute with the data points, I did: > attributes(x)<-date Which resulted in: Error in "attributes<-"(`*tmp*`, value = date) : attributes must be in a list So then I did: > attributes(x)<-list(date) Again, got an error, though slightly differe...
2010 Sep 13
1
what the role platform-pci play in comunication between HVM and domain0
Hi, Can someone interpret how HVM guest communicate with domain0, as i know, H VM can not use event channel directly, is the platform-pci offer a way to solve this? Please try to explain concretely, for example : 1.how does HVM send a event to domain0, how does domain0 catch this event, and assoicate it with a handler 2.the opposite direction, how does domain0 send event to HVM guest? Does it do something through the platform-pci? what the platform-pci does first? Does it create a virtual pci device? Then does domain0 send event to this pci device to fire a interupt ? How does it do this?...
2007 Jul 04
3
Testing Rails Associations
Hi, I''m very new to rspec, so if this is not the right forum please let me know. I''m starting to spec my models first in an existing rails app, porting from a mix of Test::Unit, and simply_bdd amongst others. I''m at the point where I want to test that certain associations are present. What I''m not sure of is should I test the association or the method and
2006 Jan 06
3
Help Connecting server districts
I am working on a project to unite several local school districts. We will have 14 different districts, every district would have their own asterisk box on location. We all have fiber lines running to a central location at our isd. This provides connectivity to all the districts. 1. would it be wiser to install a asterisk box at the central location of the ISD and have all asterisk boxes
2006 Jan 10
5
Select Tag and Associations
Hi there, I''ve been working on this for awhile and have finally decided to ask for a little guidance.I have a slight problem trying to save a selection. I have two models: A "Posting" has_many "Categories", and a "Category" belongs_to one "Posting". With that said, in the posting model I have "has_many :categories" and within the
2006 May 28
1
Bundled Resource 0.9 dynarch_date_select
I''m new to rails and and am trying to incorporated dynarch_date_select in my application. I''m using Rails 1.1.2 with Bundled Resource 0.9. I''m trying the following test:- <% require_bundle :dynarch_calendar %> <%= error_messages_for ''t1'' %> <!--[form:t1]--> <p><label for="t1_start_date">Start
2007 Apr 20
0
Agents.conf feature replication using addqueuemember
...or the caller to press pound, which a voicemail will not do and therefore the call will be put back in the queue. Other features that are important are the recording(which can be done on the dialplan side) and the update cdr. Both are important as the Monitor/mixmonitor will not name the file to be assoicated with the agent and only agent related calls. IE: if you have to look up the recording based on extension you will get personal calls as well as queue calls. Updatecdr is invalueable for the same reasons in the call detail records. Is anyone aware of a way to accomplish these things? Are an...
2004 Aug 16
2
tuning for samba server
Hi! anyone knows where to get some info for kernel (maybe via sysctl) and or samba tuning for high performance ? I have read all the samba docs available, so aim looking for others tips besides the tcp tunings usually applied in smb.conf ? i am setting a server on a client site, with many clients (about 100), and i am using a real server hardware (an HP netserver with xeon procesor@2.8Ghz, 1Gig of
2004 May 03
2
Number of Digium cards in one box...
I know, I know, check the archives but I can't find an answer since the new cards are well, NEW! I understand the whole issue of expandability and flexibility of using a T1 card and an Adtran 750. FXO or FXS, you mix and match. With the new card offerings from Digium I can easily put a 4CO by 8 Station system together. Barring the extra interrupts, extra CPU Cycles of extra interfaces, is
2004 May 18
5
AArgh, * and the 7960
I've just had the most appalling performance from * ever. Dialling: Cisco 7960 => asterisk => IAX produces sound drop outs so extreme that the call is useless. I noted this in an earlier post. Dialling: Cisco ATA186 => asterisk => IAX is fine. Frankly, I think this is such a bad problem that it should be sorted in advance of any of the new features that seem to be
2006 Jun 01
9
access model from controller
Hello, Rather new to RoR, so I''m not sure about the terminology and such :-/ . My question is: how could I know the model which is associated to a controller? For example: - controller class is TestController, which is a subclass of ApplicationController - associated model class is Test How could I write some code in a method of ApplicationController to dermine the current
2005 Jan 04
4
Scheduler Mechnisms!
Hello, Normally, in addition to such qdisc scheduler mechanisms as FIFO, PQ, WRR, WFQ, are there any more? Then, there is a confusion on scheduler in Linux enviroment: Assume there is a qdisc, such as RED as a leaf qdisc in a router, we know, if there is packet which want to enqueue the packet, the Function red_enqueue is called, but when the packet leave the queue(when the Function red_dequeue
2007 Jan 21
35
Collection proxies need to be stubbed ?
Hi all ! I just started writing specs on a new project. I would just like to validate that this is the way you would write it. I know about mocks, stubs and expectations. I don''t think this is a problem for me. My question really boils down to: def index @projects = current_user.projects.active end My spec needs to return the proxy, no ? Here''s my code: context "A