search for: group_folders

Displaying 2 results from an estimated 2 matches for "group_folders".

2006 Mar 13
6
:dependent => :destroy
Hi, There is something I don''t understand about :dependent => :destroy. I hope someone can help me. Consider this code: class Folder < ActiveRecord::Base has_many :myfiles has_many :folders has_many :group_folders, :dependent => :destroy validates_uniqueness_of :name, :scope => "folder_id" validates_presence_of :name before_destroy :dont_destroy_folder_with_contents # Folders containing files or sub-folders # can not be deleted def dont_destroy_folder_with_contents if...
2015 Oct 22
2
Can't get 'root preexec' to run
Commented within... > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Ole Traupe > Verzonden: donderdag 22 oktober 2015 11:13 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Can't get 'root preexec' to run > > Louis, I agree with you, with some exceptions: > > Am 22.10.2015 um 10:44 schrieb L.P.H.