Displaying 3 results from an estimated 3 matches for "somebodyelse".
2006 Feb 21
7
Self-referencial habtm relationship
Heyo!
I am setting up a self-referencial habtm relationship with the users
of my app. I am using Chad Fowler''s "Rails Recipes" to get me started,
and everything works great with the join table "people_friends". I add
friends by doing somebody.friends << somebodyelse. However, with my
app, there is an approval process so my join table has columns
person_id, friend_id, and approved. How do I control the "approved
field"? When I add a friend, I want to set approved to zero, when they
are approved, I want to set it to one. I played around with the arrays...
2007 Oct 24
2
DO NOT REPLY [Bug 5040] New: multiple mount point directory sources aren't completely recursive
...actual problem:
/usr/local/bin/rsync --temp-dir=/usr3/tmp -v --progress --bwlimit=100
--no-blocking-io -a -R --delete --force -x --exclude='/usr3/online_data/**'
--exclude='/usr3/tmp/**' /usr2 /usr3 dbbu:
results in /usr2 having it's subdirectories (/usr2/me, /usr2/you,
/usr2/somebodyelse) but nothing below them. /usr3 appears to be normal.
both /usr2 and /usr3 are mount points but the -x is intended to prevent mount
points below them from being copied and what puzzles me is one works and one
doesn't. Specifying top level non-mount points appears to work normally.
As you would...
2012 May 03
2
Help with readBin
I'm trying to read a binary file created by a fortran code using readBin
and readChar. Everything reads fine (integers and strings) except for
double precision numbers, they are read as huge or very small number
(1E-250,...). I tried various endianness, swap, But nothing has worked so
far.
I also tried on R 64 bit for linux and windows (R 2.14) and R 2.11 on
windows XP 32 bit.
Any help would