Displaying 20 results from an estimated 200 matches similar to: "a new model object associated with two parents"
2007 Dec 04
5
when to save, session reflect saves?
I am trying to clean up unnecessary lines (even as I hack my way forward
adding more garbage)
I have two questions on lines I have trying to keep the database and
session info reflecting changes:
def associate_pupil_to_teacher
@teacher = session[:teacher]
@pupil = Pupil.find(params[:id])
@teacher.pupils << @pupil
@teacher.save #Q1
session[:teacher] = @teacher #Q2
end
#Q1 do i
2006 Feb 24
2
Problem Referencing Fixture Objects
In my tests, I use fixtures, eg pupils.yml might be:
jimmy:
id: 100003
known_as: Jimmy
surname: Page
academic_year_id: 1
gender: m
In the test, @jimmy (the referencing style referred to in Agile Web Dev....)
is nil, whereas pupil(:jimmy) returns the expected Pupil object.
What gives?
Robert
2003 Jul 16
1
Help on NNET
Hi, Dear all,
I am just starting using R in my work and got some trouble to figure out some of the errors. Can anybody help me?
The following is the script:
read.csv('pupil.txt',header=TRUE,sep='\t')->pupil
samp<-c(1:50, 112:162, 171:220, 228:278)
pupil.nn2 <- nnet(Type ~ ., data = pupil, subset = samp, size = 2, rang = 0.1, decay = 5e-4, maxit = 200)
2007 May 11
1
Anova
Doea anyone know how to compute components of variance analysis? For example, I have the score of pupils on a test. Each pupil belongs to a school and within each school I may have several classes? How can I estimate the variance of the pupils, schools, classes and the errror variance?
Any examples?
Any help will be appreciated.
Jason
Dr. Iasonas Lamprianou
Department of Education
The
2006 Jul 05
5
''m having trouble with BackgrounDrb
Hi. I thought that BackgrounDrb was the perfect solution for my long
running report production tasks.
But I can''t seem to get anything useful back out of it.
I set up a simple test worker that just does
class TestWorker < BackgrounDRb::Rails
attr_reader :pupil
def do_work(args)
@progress=0
@pupil=Pupil.find(3)
sleep rand*10
@progress=100
end
when I try to
2006 Feb 07
1
hardware and configuration for school's servers
Hi
I am managing samba server in school.
"Server" is on VIA 800MHz processor with 80GB IDE hard drive.
there is no domain at the moment, just simple sharing, security share
and smbpasswd file.
I have 300 computers (each classroom has 20) with winxp sp2 auto logon
limited local account,
300 users (6 intake groups).
Passworded home directorys on Samba and Pupils have access to it by
2014 May 19
1
Zero byte files
Hi all,
I have a Centos 6 box running samba-3.6.9 and I have a problem with
files turning to 0 bytes after being edited and saved. One of the users
reported that he changed the name of two files and both ended up sized 0
bytes and opening them revealed them to be empty. Has anyone had a
similar problem? I've been looking for 3 days and there's obvious
pattern to the events
2008 Aug 04
0
Help needed: strange issue with share mapping at logon
Hello all,
I've run into an issue while migrating a client's Samba PDC from Debian
3.x to OpenSuSE 10.3, have been beating my head against it for over a
week, and am now turning to the mailing list for help.
We're running Samba 3.0.26a-3-1478-SUSE-SL10.3 authenticating against
OpenLDAP 2.3.37. Integration of Samba and OpenLDAP works, and importing
the 2000+ existing user accounts
2004 Jul 27
2
logged in users
Hallo,
i've got a little question:
is it possible to query the domain controller
which user is loggid in from which workstation.
I'm writing an webapp for teachers; it would be nice to know
which pupil logged on from which workstation to shutdown the
correkt workstation in order to kick the pupil (force logoff)
or is there an other way to
2004 Oct 18
1
Intermittent "Network name cannot be found" error when accessing XP roaming profile
Hi guys,
How are you ?
I've installed samba-3.0.7 from source on a Slackware Linux 10.0 server
configured with "--with-ldap" as a backend (OpenLDAP-2.2.13) and with
nss_ldap installed. I have my profiles share configured as follows:
[profiles]
comment = Profile Share
path = /data/profiles
writeable = yes
guest ok = yes
browseable = no
profile acls = yes
csc policy = disable
2009 Dec 11
1
random effects in mixed model not that 'random'
Hi,
I have the following conceptual / interpretative question regarding
random effects:
A mixed effects model was fit on biological data, with observations
coming from different species. There is a clear overall effect of
certain predictors (entering the model as fixed effect), but as
different species react slightly differently, the predictor also enters
the model as random effect and with
2007 Apr 18
0
Samba / Winbind / LDAP - Can't access shares
Hi All,
I have the following setup. Samba/LDAP PDC, Samba BDC, Samba member
server, Win2K member server, 300 Win XP Client PCs.
I can access the shares on the PDC from all Win XP clients. I can
access the shares on the Win2K member server from all XP clients, I
can't however access any of the shares on the Samba BDC or Samba member
server from the XP clients.
LDAP is working fine and
2006 Apr 06
1
[SVG Presentation] Features request
My mail to David Reveman,
after sending, sombody told me, it would be better to write the list. So
here is my first mail to a list.
.
..
...
Hello,
first thanks for XGL. ;) You did an amazing job with that but you
already know that.
My name is Nils Hobbensiefken and i come from the North of Germany and i
have two questions/requests.
I already used the cube on top view for a couple of
2007 Apr 17
0
LDAP PDC migration gone wrong.
Hi All,
I have a problem following the migration of my PDC's backend from tdbsam
to LDAP. We started out with a PDC called SMB1 which ran with a tdbsam
backend. I used pdbedit to convert it to LDAP and built a new server
onto which the LDIF file was loaded. Samba was then setup to use the
LDAP server as a backend. So far so good, Samba runs against LDAP and I
was able to add 60 new XP
2015 Jul 21
0
' --enable-R-shlib' problem when setting up R-devel in Linux Mint 17.1 64-bit
Regarding the previous problem with setting up r-devel in Linux Mint
17.1 64-bit, I deleted all the r-devel files I previously had, and
then I did the check out to the
'~/svn/r-devel'
directory originally mentioned by by Dirk on
https://stat.ethz.ch/pipermail/r-sig-debian/2012-August/001935.html,
instead of the customised location I previously chose:
'~/SVN/R-devel/trunk'
and
2003 Nov 12
1
problem authenticating win xp machine
Hi folks :-)
I'm just installing a fresh new samba server, and trying to authenticate
some win xp machines. The config is more or less like this :
* Windows XP SP1 with all security upgrades
* Samba 3.0.0final-1 running on debian testing
I'm more or less following this howto :
http://hr.uoregon.edu/davidrl/samba.html#winxp
I'm using this smb.conf file :
--8<-------
[global]
2015 Feb 25
1
performance issue with large group and dbcheck / dc join
Hi everyone,
yesterday I had to debug a failing join on a large domain for a group of
primary schools with 1000+ desktop and 10k accounts. The domain run
mostly ok except for some replications issues, however joining a new DC
just takes eons and so does dbcheck.
After some investigation into dbcheck (4.1.17) and some "human powered"
valgrind like evalution using pudb, I came to the
2011 Sep 13
0
Win7 to Samba Domain Printing Strangeness
Hi,
I have a server which until recently was serving a domain of about 20 XP
PCs in a school. Over the summer I updated Samba to 3.5.4-0.70, and
replaced the desktops with new machines which are running Win7 Pro 64 bit
SP1.
This being a school, I have a system of mandatory group profiles set up,
and all of the pupil groups curently have copies of the same mandatory
profile (generated via the
2005 Feb 26
0
It works, and thanks ;)
List,
No, no questions, no complaints. Just compliments to the Samba team.
Samba 3.0.11 (Red Hat RHAS3) running as (one of 5 diverse Linux servers)
PDC for all (75+) wk2000 and XP professional workstations on top of an
1,560+ OpenLDAP 2.2.17 backend at Barlaeus Gymnasium ("gymnasium" means
"sort of high school for over-intelligent pupils whose parents just might
happen to have
2002 May 21
1
Linux to Windows Dfs
Howdy
Is there any reason why I cannot mount to a Dfs share on a Windows 2000 box
from Linux?
I have tried:
# mount -t smbfs //server/share$ /mnt/point -o username=user
Which works...
# mount -t smbfs //server/share$/home/pupils/user /mnt/point -o username=user
Trying to mount any share within the Dfs root retruns:
23479: tree connect failed: ERRDOS - ERRnosuchshare (You specified an