similar to: simple association question

Displaying 20 results from an estimated 11000 matches similar to: "simple association question"

2006 Feb 15
12
Does your *shared* hosting account work without errors?
Does your *shared* hosting account work without errors? I''m interested in both positive and negative reports. If you are willing, please contribute - name of the hosting service - how long you have used them - your experience ("flawless!", "it''s crap!") You *do not* need to reply saying your VPS service works great. This is about *shared* hosting
2006 Apr 20
5
How to find the last SQL statement executed in ActiveRecord
Is there a method for retrieving the last SQL statement executed by ActiveRecord? I realize I can open the log file, but I''m looking for a programmatic way. -- Posted via http://www.ruby-forum.com/.
2006 Feb 16
1
validations with associated object
Does anyone know if Rails is supposed to validate associated objects on creation? Say you have a User model, with has_many posts, and a Post model which belongs_to user. Further, the Post model has a validates_uniqueness_of :title. u = User.find(1) # this should pass u.posts.create :title => ''my new post title'' # this should fail u.posts.create :title => ''my
2011 Mar 24
1
Two matrix loop
Hi, I'm trying to create a distance matrix. And it works out somewhat ok. However, I suspect that there are some efficiency issues with my efforts. Plz have a look at this: donor <- matrix(c(3,1,2,3,3,1,4,3,5,1,3,2), ncol=4) receiver <- matrix(c(1,4,3,2,4,3,1,5,1,3,2,1,4,5,3,5,1,3,2,4,5,1,2,3,1,4,5,5,1,2,1,3,4,3,2,5,5,1,4,2,5,4,3,2), ncol=4) The above creates my two matrices. I have
2009 Jan 21
1
X matrix deemed to be singular;
Hello, i'm tring to use a cox's model for a survival analysis. I have a dataset, this is a part: VOD SESSO fonte_sct donor RT_CGY STATOBMT TEMPO morto 1 0 F mid related 1200 CP 65 1 2 0 M mid 1200 2RC 5281 0 3 0 M mid unrelated 1200
2006 Dec 19
1
FerretDonors page added to wiki
Hey folks, I''ve just added a FerretDonors page to the Wiki (for those interested we have raised $3915 to date). Currently it just has a list of donors but I would like to add links for each donor to their personal and/or business websites. This is something I should have done a long time ago. I''d love to hear any suggestions as to how I can better recognize these
2006 Mar 24
3
Using Tags in Applications
I''ve been contemplating the utilization of "tags" functionality for categorizing records in my application. For example, a record can have any tag associated with them: volunteer, donor, phone_caller, etc. (Much like delicious) Has anyone already laid out a good architecture for implementing this on the DB, or other medium? I''m sure I can custom build something, but
2010 Jan 22
3
R-2.10.1 : There is no make file. (PR#14192)
Full_Name: N. Srinivasan Version: R-2.10.1 OS: Ubuntu 9.10, 64 bits Submission from: (NULL) (68.110.238.141) ,/configure runs fine. But there is no make file mentioned in the INSTALL file. Usually this kind of information is provided in the README file. I am a donor to the R Foundation. Ubuntu uses the Synaptic. It only installs the R version 2.9.0 So, I have to compile R-2.10.1 from the
2006 Apr 22
1
Partially crossed and nested random factors in lme/lmer
Hi all, I am not a very proficient R-user yet, so I hope I am not wasting people?s time. I want to run a linear mixed model with 3 random factors (A, B, C) where A and B are partially crossed and C is nested within B. I understand that this is not easily possible using lme but it might be using lmer. I encountered two problems when trying: Firstly, I can enter two random factors in lmer but
2005 Apr 28
2
Neosurge.com
All, I would like to thank the latest donor to the CentOS project: Neosurge.com. We have a nice new, shiny server to help get all those updates out faster. http://www.neosurge.com/ Neosurge has plenty of hosting options from normal website hosting to dedicated / co-located servers. And I can vouch for the speed of the traffic into the datacenters. You can definitely get CentOS pre-installed
2005 Mar 31
2
new to dovecot, dealing with MH foders
Hello, I'm sorry if this is a repeat, a few choice searches into google didn't help and I found no search for the archives. I can no longer put of moving away from UW-IMAP. Dovecot certainly seems to be the right choice, but I am having problems getting it to do what I need it to for all my mail. The machine is running the dist version, 0.99.12. I have a system mailbox and a large MH
2015 Jan 06
2
FAO Statistical Yearbook consultant
FAO Statistical Yearbook consultant The Food and Agriculture Organization (www.fao.org) is a United Nations agency that leads international efforts to reduce hunger in the world. This is achieved through three main goals: the eradication of hunger, food insecurity and malnutrition; the elimination of poverty and the driving forward of economic and social progress for all; and, the sustainable
2013 Feb 05
1
Calculating Cumulative Incidence Function
Hello, I have a problem regarding calculation of Cumulative Incidence Function. The event of interest is failure of bone-marrow transplantation, which may occur due to relapse or death in remission. The data set that I have consists of- lifetime variable, two indicator variables-one for relapse and one for death in remission, and the other variables are donor type (having 3 categories), disease
2007 Mar 05
2
Promise Ultra133TX2?
Has anyone made the Promise Ultra133TX2 2-port PCI<->IDE card work with Solaris x86 11/06? I''ve seen some references to the Ultra100TX2, but it doesn''t seem to refer to the version that I''m using. Thanks, -Luke -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3271 bytes
2021 Aug 20
2
Join multiple Gluster Cluster
Hi, I Configured 3 Clusters (For several Shared Homes between different maschines) .. So far no Problem. Now it need a Volume that going across this maschines, but the nodes are bound to there own clusters so peer probe fails . How i can build one big cluster with all nodes but without dataloss (And best without Downtime J) Hope there is some Pro that can help J Greets from Germany
2008 Jan 21
3
Story runner "macros"
I''ve gotten quite a bit out of Pat Maddox''s screencast http://evang.eli.st/blog/2007/10/8/story-runner-top-to-bottom-screencast One thing I''m not sure of is the feature where he writes things like: When "I POST to", "/articles", :post => {:title => "Title", :body => "Body") do | path, params| post_via_redirect
2015 Jan 12
2
FAO Statistical Yearbook consultant
Dear Amy, I have the same question as Mark. Is it possible to work from abroad - remotely? Best regards, Martins On 6 January 2015 at 19:32, Mark LoPresti <marklopresti at yahoo.com> wrote: > Hi Amy, > > one key question: can this position work remotely? > Thank you, > Mark LoPresti > From: "Heyman, Amy (ESS)" <Amy.Heyman at fao.org> > To:
2006 Feb 15
5
strange behavior with has_many and size
Here is a "ruby script/console" session verbatim which will explain the problem. Bear in mind that nothing is changing the database behind the scenes at any time. topics is a has_many relationship of Sponsor. >> s = Sponsor.find(3) => #<Sponsor:0x22fd804 @attributes={... >> s.topics.size => 1 >> l = s.topics => [#<Topic:0x22d3fa4 @attributes={...
2006 Apr 09
4
Inheritance via Though Associations?
I posted something about this a week ago wihtout response, but have made some progress since. However, I''m still not getting exactly what I want. OK, three core tables: create_table :reference_items do |t| t.column :title, :string, :limit => 255 t.column :year, :integer, :limit => 4 t.column :type, :string t.column
2002 Aug 05
1
Has anyone seen this before?
I'm using samba and cups to allow NT/2k machines to print to an HP LaserJet 4000N printer. The printer works fine except for one in house program. In this one program, all the horizontal lines that should be printed are missing. Originally I thought this was a driver problem, but today, for no apparent reason, it started printing the horizontal lines... but only for the first page of each