similar to: Separating models, controllers, etc. into subdirectories

Displaying 20 results from an estimated 20000 matches similar to: "Separating models, controllers, etc. into subdirectories"

2006 Dec 13
1
rspec with rails controllers in subdirectories
Does the rspec rails plugin support controllers in subdirectories under app/controller?
2011 Jan 23
3
tar-ing subdirectories separately
I want to backup a directory using tar, but want separate tarballs for each subdirectory. For example: # ls dir1 subdir1 subdir2 subdir3 Will it possible to do it using only tar command? Or will I need another separate piece of logic/control? I thought of writing a shell script with three tar commands for each subdirectory, but that's not elegant way of doing it. Also, it may not scale as
2006 Apr 01
0
Newbie question: How to reference models in subdirectories
Hi, new to RoR I am probably going to embarrass myself now: I have models organised in subdirectories, i.e. models |--material |--product.rb |--cross-applications |--currency.rb When I try to reference another model within the same subdirectory, everything works fine, i.e. belongs_to :product_categories, :class_name => ''Material::ProductCategory"
2006 May 23
2
Putting fixtures into subdirectories
I want to organize my fixtures just like the namespace of my models. So for example if I have a model Company::Employee I''d like the fixture to be in fixtures/company/employees.yml. However, I can''t figure out how to specify the path of the fixture file. If I do: fixtures :employees in my unit test it can''t find the fixture file. Any suggestions? Thanks, Todd
2006 Aug 03
1
storing views in subdirectories?
I''d like to organize my project structure by storing certain related views into a subdirectory. For example, I have a bunch of interviews which each contain their own view (the client doesn''t want them content managed, or put in the database). Right now I have them placed inside "app/views/site/interview_one.rhtml", "app/views/site/interview_two.rhtml", etc.
2006 Jun 28
2
Newbie question: subdirectories in app/models
For organizational purposes, I would like to create subdirectories in my apps/model/ directory. Is there any easy way to do this while still having the ability to refer to the derived active record class models? I.e. apps/models/blog/post.rb: class Post < ActiveRecord::Base ... end Post.new ... Scott Taylor
2010 Aug 13
1
Squid and first-level subdirectories & second-level subdirectories on ext3/4
Squid, a proxy, is by its nature, storing large amounts of relatively small files in it's cache. As config optins it's offering: # 'Level-1' is the number of first-level subdirectories which # will be created under the 'Directory'. The default is 16. # # 'Level-2' is the number of second-level subdirectories which # will be created under
2016 Jan 25
0
Notification of file modification in subdirectories not working
Hi Volker Thanks for reply. managed to capture Samba logs 4.2.7 in debug 10 Subsribed to events on path /watchfolder recursively. First notification is renaming a folder in a subfolder, path /watchfolder/test/renamed - that works OK. Second notification is on path /watchfolder/test/subfile.txt and editing that in Notepad on another Windows 7 machine via UNC path That does not show
2002 Aug 11
2
How to rsync selective subdirectories
Hi My directory structure is something like following: List of files in /abc/dir/ 20020811 20020812 20020814 20020815 (where directory name above is the date, and daily changes i.e. directories are added and deleted) list of files in /abc/dir/20020811 toid toil etd dt (all the date directories contain the directories as above and
2015 Dec 29
0
permission problems trying to access subdirectories of a samba share
On 29/12/15 15:44, covici at ccs.covici.com wrote: > Rowland penny <rpenny at samba.org> wrote: > >> On 29/12/15 13:59, covici at ccs.covici.com wrote: >>> Hi. I am having problems accessing subdirectories on a samba share. I >>> am using windows 10 build 10586 and linux kernel 4.1.15-gentoo and samba >>> 4.2.7. I have two shares, one called audio and
2007 Mar 01
2
subdirectories with different permissions
Several users keep asking for a similar setup, and I'm wondering if there's a way to achieve it with a single samba share. They'll ask for a single share drive the has multiple subdirectories with each subdirectory having different permissions based on groups. So say you have a share called COLOURS and inside that share are three subdirectories, RED, GREEN and BLUE. Group1
2015 Dec 29
2
permission problems trying to access subdirectories of a samba share
Hi. I am having problems accessing subdirectories on a samba share. I am using windows 10 build 10586 and linux kernel 4.1.15-gentoo and samba 4.2.7. I have two shares, one called audio and the other called myshare. I cannot access the subdirectories in the myshare share. Here are the definitions. [myshare] comment = root directory path = / #fake oplocks = yes writable = yes printable =
2005 Dec 22
1
smbfs - Can't create files in subdirectories...
Greetings, I'm hoping someone can help... I have a Slackware 10.2 server running Samba 3.0.20b. When I mount a share with "mount -t smbfs -o username=user,pass=pass,fmask=777,dmask=777 //server/share /mount/point" (on another 10.2 PC) the mount completes successfully. Logged in as a user, I can access the mountpoint and create files and directories in the root of the mount point.
2006 Nov 01
1
How to rsync only specified subdirectories in the source folder?
Hi all, For example,if there is ten subdirectories named sub1~sub10(each including subdirectories and files too),and file1~file10,how can I rsync only sub2 and sub 3 to the target? /---- MyFolder |---------- sub1 |---------- sub2 |---------- sub3 |---------- sub4 |---------- sub5 |---------- sub6 |---------- sub7 |---------- sub8 |---------- sub9
1999 Oct 15
0
sharing subdirectories
I currently have a directory with several subdirectories that are shared through samba. Each subdirectory is only writeable by a group assigned to that subdirectory. How do I share the main directory so that the share definitions of each subdirectory is not broken, specifically the create mode? What I have so far, is the main directory is being mapped to a drive letter in Windows, so that
2016 Jan 18
2
Notification of file modification in subdirectories not working
Hi all I have a problem where notification about file modification (edited text file) is not passed from one Windows7 to another Windows through Samba. Monitoring is done via custom application that recursively watches for all events on certain directory watchfolder. Strangely all events are passed through fine in watchfolder itself (including file modification). Also all other events like file
2015 Dec 29
1
permission problems trying to access subdirectories of a samba share
Rowland penny <rpenny at samba.org> wrote: > On 29/12/15 15:44, covici at ccs.covici.com wrote: > > Rowland penny <rpenny at samba.org> wrote: > > > >> On 29/12/15 13:59, covici at ccs.covici.com wrote: > >>> Hi. I am having problems accessing subdirectories on a samba share. I > >>> am using windows 10 build 10586 and linux kernel
2008 Jan 24
0
subdirectories in generator template directory
Hi all, I''m trying to create a generator. As there are quite a few files in my generator i decided it would be a good idea to make some subdirectories in the template directory. But now i can''t seem to copy the files from these subdirectories with the file method. For example: record do |m| m.file
2004 Feb 10
1
applying permissions to subdirectories using setgid doesn't do th e trick... :(
Dear list. I have a problem that I cannot seem to get rid of. I have a directory/share (on linux) called "smb" containing four subdirectories. This directory will be 'exported' using samba.I would like to have different permissions on the different subdirectories. This works, except for this one directory (called temp) that I want to be read/write for everybody. Using force
2012 Dec 14
0
user can't access subdirectories on share using Win7
Hello, I have samba 3.5.6 PDC and BDC on debian squeeze with openldap backend and couple samba member servers based on samba 3.5.15 and 3.6.6 on solaris 11 delivering shares to windows and linux users. recently we moved from samba 3.0.24 on solaris to above verions and we stuck with a problem on windows 7 machines. on solaris zfs filsystem mounted with these settings: drwxrws--t 20 root