Displaying 20 results from an estimated 1000 matches similar to: "Association broken when upgrading from rails 1.2.6 to 2.2.2"
2006 Apr 20
3
has_many :through with has_many/has_many join models
It seems that using a join model that joins with two has_many''s will
fail to generate proper SQL
class StudentSemesterRecord < ActiveRecord::Base
belongs_to :semester
has_many :discipline_records, :through => :semester
end
class Semester < ActiveRecord::Base
has_many :student_semester_records
has_many :discipline_records
end
class DisciplineRecord <
2008 Sep 18
4
I wanna do a project on RoR
Hi..Friends...I m a final yr IT engg student...I wanna learn RoR n use
it for my Btech project...Kindly help me in dis regard...My exact
query is:
1)Wat project topic to choose
2)How to learn dis technology n implement it in my project
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2009 Feb 19
6
Rating
how to implement rating feature in rails and wat are the required gems
for that.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
2017 Jul 18
2
lme4 question
Hello,
I am trying to run the following model:
domi ~ type*ratio+((1|id)+(0+type|id)+(1|face_id)+(1|car_id))
My question is whether the data coding for "face_id" and "car_id" variables
is correct.
As you see on the following sample data structure, "type" is repeated
measure where 1=car, 0=face. Thus, I coded "face_id" as "0" when the type
is 1
2009 Nov 17
5
has_many :through and foo.bars.include?
hallo everybody,
i already googled the following problem, but there are so many
questions regarding "has_many :through", that i just couldn''t find
what i was looking for. so, i''m really sorry if this has been asked
before. if so, just drop me the link.
i have a has_many :through relationship similar to the following
example:
class Group < ActiveRecord::Base
2012 Jul 29
2
Error in for-loop
Hello erverybody,
I have a problem with my second for-loop.
1. First i read the tables.
datos.mx1 <- read.table('PETmx1.csv',head=TRUE,sep=';')
datos.min <- read.table('PETmin.csv',head=TRUE,sep=';')
http://r.789695.n4.nabble.com/file/n4638257/PETmx1.csv PETmx1.csv
http://r.789695.n4.nabble.com/file/n4638257/PETmin.csv PETmin.csv
names(datos.mx1)
2013 Jan 31
7
[PATCH] libxl: pass debug flag down to libxl_domain_suspend
# HG changeset patch
# User Olaf Hering <olaf@aepfle.de>
# Date 1359648298 -3600
# Node ID 256d59b2bc8a413876559dc8daf4c52ba46677de
# Parent 12455da211d4e841692b2374086356a87eb74ff7
libxl: pass debug flag down to libxl_domain_suspend
libxl_domain_suspend is already prepared to handle LIBXL_SUSPEND_DEBUG,
and xl migrate handles the -d switch as well. Pass this flag down to
2004 Oct 07
2
account is not autorized to connect from this station.
Hi all,
(i'am beginner)
i have samba 3.0.7 and ldap 2.1.30-3 installed on linux debian sarge
My users account are stored in ldap (ou=people,dc=alsace,dc=iufm,dc=fr)
I used idealx smbldaptools .0.8.5 to :
- populate LDAP (account administrator is created, id administrator
gives " uid=0(Administrator) gid=512(Domain Admins) groupes=512(Domain
Admins)"
- add my machine accoun (named
2012 Aug 11
3
replace funcion
Hello everybody,
I would like to replace or recode a list of numbers between 1 and 12 (total
100). I have tried to make it with recode, but i have two types of
replacements. For 1,2,3,4,11,12 => invierno and for 5,6,7,8,9 and 10 =>
verano.
recode(datos.mx1[,7], "1='invierno'; 2='invierno';
2005 Dec 02
3
plot and factors
Read R-helpers,
I'm relatively new to R and trying to jump in feet first. I've been
able to learn a lot from on-line and printed documentation, but
here's one question to which I can't find an answer. Well, it's a
question with a couple parts. Thanks in advance for any direction
(partial or complete) that anyone can provide.
I have a data frame with three columns:
2009 Feb 24
7
Add .html extension by default
Hi all,
i would like to add the .html extension by default to all my
resources. What is the best way to do that? The reason for this is
that i need to download the generated sites via wget and i need
the .html extension for the downloaded files. Also it would be nice if
the link_to would automatically generate the links with .html...
Thanks,
Gerold
2010 May 19
6
dovecot2 latest beta5 acl not working properly ?
Hi
i tested acls with some clients
horde/imp mulberry thunderbird squirrelmail kmail
and i couldnt get it run proberly
i have no problems testing setacl etc with plain
telnet session, and i have no error in verbose logging
but it looks like acl is only working partly with some clients
so show acls is working mostly but setting only partly
horde/imp and mulberry dont show any acls
any idea?
--
2004 Oct 14
2
script in netlogon isn't run
Hi,
i have samba 3.0.7 and set a logon.bat script in /home/samba/netlogon
But when i log in my domaine (from a windows xp sp1 machine) "Domi" the
script isn't run, no error message at log in
Just going on the share "netlogon" i got the sand-hour and nothing more
happens
What's wrong ?
Thanks for any help
*here my smb.conf *
[global]
# Do something sensible when
2000 Feb 02
2
problems with openssh-1.2.2 and pam_tacplus.so
Hello,
I have the following problem: I have installed openssh-1.2.2 on FreeBSD
3.4-RELEASE. I intentionally did not took the FreeBSD port because it does
not support PAM. My aim is to make sshd authenticate against a TACACS+
server using the pam_tacplus.so module shipped with FreeBSD. That works
perfectly with this line in my /etc/pam.conf:
login auth sufficient pam_tacplus.so
2009 Feb 02
1
OT: procmail recipe question
I'm trying to use procmail and I'm having trouble getting it to set some
headers. I have one mailing list that sets ?Newsgroups: in the header
and I want to remove it. I have the following test recipe:
:0
* ^Subject:.*\<testing
* ^(Mime-Version:|Content-)
| formail -IMime-Version: -IContent-
If I understand it correctly, it should remove the Mime-Verion and
Content headers.
The
2017 Mar 22
3
Disabling Firewall/iptables on CentOS 7??
I apologize if this has been asked and answered, but I googled and
attempted things for several hours today without success.
I have a freshly installed CentOS 7 system that I'd like to disable the
firewall and all iptables rules. Basically the equivalent of doing
iptables -F
In a nutshell I've tried the following commands, in many different ways
and orders, but when the system
2006 Apr 24
3
[O/T] undergrads and R
Dear R People:
Are your undergraduate students receptive to learning R, as a rule?
Most of the time, mine really like it. But this semester, they act as
though they are being eaten by rats when learning R. They are not
trying at all.
Any similar experiences? If anyone has any good ideas, I would be
THRILLED to hear them, as I am using R in Summer School.
Thanks,
Sincerely,
Erin Hodgess
2005 Dec 05
1
data frames, na.omit, and sums
Dear R-helpers,
New to R, I'm in the middle of a project that I'm using to force me
learn R. I'm running into some behavior that I don't understand, and
I need some advice. In the last week I've gotten some great advice
from the list on visualizing my data, and I was hoping people could
help me get over another barrier I've encountered to my progress.
Before I
2010 Feb 04
8
GPLPV or other drivers for win2k8r2?
Hi. I have some new 64bit Windows 2008 R2 domU''s running on
SLES11/xen_3.4.2. What is everyone using to get 1gb network performance
on win2k8? I''ve used GPLPV on win2k3, but I see you have to sign the
drivers yourself for 64bit. Maybe that process isn''t difficult, I only
glance at the link from gplpv''s page.
What is everyone using? GPLPV is about the only
2008 Sep 10
2
using R for online course/distance ed
Hi R People!
I'm going to be putting together a completely online undergrad
business stats course (a second semester course) and was going to use
R and Rcmdr.
My question: has anyone else used R for an online course, please? If
so, did it go well, please?
Thanks in advance,
Sincerely,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University