Displaying 14 results from an estimated 14 matches for "assoication".
Did you mean:
association
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 to rub...
2005 Apr 07
1
Assigning "dates" attribute
Dear List,
I have a one-column data 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
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
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
I (have to) would like to move my agents out of agents.conf in
preparation for the deprecation of agentcallback login. Everyone I have
spoken to is upset about this but the functionality can be accomplished
in the dialplan and that is fine by me. I do have an issue with losing
the features contained in the agents.conf though. I have to have the
ackcall-yes working. All of my agents login on home
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