Displaying 4 results from an estimated 4 matches for "associatons".
Did you mean:
associations
2006 May 22
4
naming convention for bridge tables.
I read somewhere that the correct naming of bridge tables is in alpha order.
For example. I have two tables:
houses, and colors.
If I want to create a bridge table to associate colors with houses, I would
name the table:
colors_houses
The associations work fine.
But, if I have a table named: track_houses.
Building a bridge table called: colors_track_houses, gives me model
associaton errors.
2006 Apr 08
4
Stack level too deep error :(
Hi,
If anyone has some time to help with my problem that would be really good :)
I am getting a "stack level too deep" error when saving an object to the
database when it is has a has_one relationship to another object I wish
to save and associate after it.
If goes a little like this
class Quote < ActiveRecord::Base
belongs_to :eventdetail
has_many :bookings
# An
2007 Jul 17
0
Multiple inserts on a through association.
class Trunk < ActiveRecord::Base
has_many :call_type_trunks
has_many :call_types, :through => :call_type_trunks
end
class CallType < ActiveRecord::Base
has_many :call_type_trunks
has_many :trunks, :through => :call_type_trunks
end
class CallTypeTrunk < ActiveRecord::Base
belongs_to :call_type
belongs_to :trunk
end
The associaton class has a column named price.
2005 Apr 27
0
Fitting a kind of Proportional Odds Modell using nlme, polr, lrm or ordgee
Hello,
I'm trying to fit a special kind of proportional odds model from:
Whitehead et al. (2001). Meta-analysis of ordinal outcome using
individual patient data. Statistics in medicine 20: 2243-2260. (model 2)
The data are as follows:
library(nlme)
library(geepack)
library(Design)
library(MASS)
options(contrasts=c("contr.SAS","contr.poly"))
counts <-