Displaying 3 results from an estimated 3 matches for "groupship".
2006 Apr 01
1
using find with multiple objects in active record
...gs to but also rank the groups by one of the
groups'' parameter like group.size. Pretend group.size is a number from
1-10 and is precalculated. Can I do this is one query? Here are the
relationships I set up:
class User < ActiveRecord::Base
has_and_belongs_to_many :groups
end
class Groupship < ActiveRecord::Base
set_table_name "users_groups"
belongs_to :recipes
belongs_to :tags
end
class Group < ActiveRecord::Base
has_and_belongs_to_many :users
end
Thanks!
--
Posted via http://www.ruby-forum.com/.
2008 Jan 20
1
--link-dest vs. special files and owner/group changes
rsync 2.6.9 --link-dest does
- not hardlink special files (symlink, device nodes)
This doesn't take much space, but it clutters the logfiles
- change owner/groupship on the hardlink
So if I use a hard-linked-tree-per-day, it changes history also
Is this still the same with newer versions?
Are there options to modify this behavior?
If not, why not? :-)
louis
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung...
2010 Aug 11
4
feature request: "remote user is root, make remote owner is foo"
I often push files from my user account over SSH to my web server, and
want them owned by www-user, which may not have a login shell, should
never accept remote logins, and who may not have a ~/.ssh directory
(and if it did, it would be under the wwwroot, ack!).
Currently I push as root and then do a chmod, but isn't there a better
way? While I'm doing this, the files are temporarily