similar to: subdirectories in generator template directory

Displaying 20 results from an estimated 100000 matches similar to: "subdirectories in generator template directory"

2006 Mar 05
1
rdoc on edge rail fails at generator template
Infinite loop at a generator template :- controller.rb: c railties/lib/rails_generator/generators/components/controller/templates/controll er.rb:3:15: Expected class name or ''<<''. Got RubyToken::TkLT: "<" And BTW why are templates named .rb ? Thanks -- Posted via http://www.ruby-forum.com/.
2009 Apr 04
1
Rails 2.3.2 - template question
Simplest of template files, tst.rb, contains: PROJECT_NAME = File.basename(RAILS_ROOT) run ''echo '' + PROJECT_NAME Running command "rails tst -m ~/Rails_Tools/tst.rb" produces: create create app/controllers . . create log/development.log create log/test.log applying template: /Users/rick/RailsTools/tst.rb Anonymous modules
2006 Mar 07
0
How can I prevent deleting of primary directory while allowing full privileges to subdirectories
Greetings - In general terms I would like to prevent users from deleting or moving a primary directory within a share, but allow users to create / delete / move subdirectories and files that reside under these directories. My reason for needing this type of setup is to prevent an accidental deletion of a common directory and to maintain a planned directory structure at the top level of the
2006 Mar 01
0
Prevent deleting/moving of primary directory, but allow deleting/moving of subdirectories by users
Greetings - In general terms I would like to prevent users from deleting or moving a primary directory within a share, but allow users to create / delete / move subdirectories and files that reside under these directories. My reason for needing this type of setup is to prevent an accidental deletion of a common directory and to maintain a planned directory structure at the top level of the
2008 Mar 04
2
Action Mailer throwing underscores on template name
I''ve recently run into a problem with one of my applications that refuses to send emails using ActionMailer. Looking at the log, it become obvious what''s happening, the system is looking for templates with underscores at the end. Notice the exception_notification_ . For example: ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template found for
2014 Sep 03
1
Re: How to have a directory and its subdirectories as a storage pool
On Wed, Sep 03, 2014 at 09:15:04AM -0600, Eric Blake wrote: > On 09/03/2014 06:11 AM, Marc Haber wrote: > > I would like to use btrfs subvolumes as storage place for VM images to > > use snapshots. > > > > Unfortunately, this does not seem to work in virt-manager at least > > since the "filesystem directory" storage pool type does not allow me > >
2014 Sep 03
0
Re: How to have a directory and its subdirectories as a storage pool
On 09/03/2014 06:11 AM, Marc Haber wrote: > Hi, > > I would like to use btrfs subvolumes as storage place for VM images to > use snapshots. > > Unfortunately, this does not seem to work in virt-manager at least > since the "filesystem directory" storage pool type does not allow me > to descend into subdirectories. > > Is there a trick to do this? Can I do
2014 Sep 03
2
How to have a directory and its subdirectories as a storage pool
Hi, I would like to use btrfs subvolumes as storage place for VM images to use snapshots. Unfortunately, this does not seem to work in virt-manager at least since the "filesystem directory" storage pool type does not allow me to descend into subdirectories. Is there a trick to do this? Can I do it with virsh, or in the XML? Greetings Marc --
2010 May 14
1
A Directory/Subdirectories Disappeared - which log file to look for this kind of information?
Hi, A directory/subdirectories just disappeared on our dev box, and we don't know what happened. Is there a log file that logs this kind of stuff (such as who/date did a 'rmdir'). The /var/log directory has a lot of files and I'm not sure where to start. Thanks in advance. Mary
2005 Dec 20
0
Separating models, controllers, etc. into subdirectories
I''d like to organize my models, controllers, helpers, and even toplevel view directories into subdirectories. There are so many files in my rails app that it is getting unwieldy to find files in a list. Is there a correct way to do this so that things don''t break? I tried putting the model files in subdirectories; some pages seemed to work (models loaded fine), while
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 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
2006 Jul 19
3
/var/spool/mail directory size and subdirectories
(Complete newbie to dovecot. I hope what follows isn't something I've missed in some FAQ somewhere...) On a traditional UNIX filesystem with UW-IMAP several years ago, we encountered major performance problems when "/var/spool/mail/" got big (we would currently be ~20,000 entries). This was due to the inefficiency of the UNIX filesystem when creating and deleting the lockfiles
2006 Dec 13
1
rspec with rails controllers in subdirectories
Does the rspec rails plugin support controllers in subdirectories under app/controller?
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
2006 Dec 17
1
Markaby template & layout (can't get them to work together)
Hi all, I am starting a new rails app with the Markaby plugin (had some issues installing, but think its working). First, i created an index.mab file for a controller containing: h1 "First template" That rendered fine. Also, I do not have a "def index ..." in the controller. Then I created an app/layouts/application.mab file. It didn''t get picked up until after
2007 Mar 31
1
Subdomains, Routing, and Subdirectory Controllers
For reference, this question is similar to "Subdomains, Session Data, & Routing" posted Oct. 31, 2006. Link: http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/d3c5072c3588a1e0/f87d0fdfded31650 ---- I would like to set up a subdomain and, using the request_routing plugin, have requests to that subdomain call corresponding "sub- controllers" inside a
2006 May 14
0
RJS Template not getting called
I have a shared account on Site5.com running Rails v1.0. I installed the RJS template plugin within my project. My controller function gets called, but my corresponding RJS template does not get called. The following is output (any thoughts?): ActionController::MissingTemplate (Missing template ./../config/../app/views//workout/addjournalentry.rhtml):
2014 Dec 10
1
Renaming directories with subdirectories over IMAP
Hi, I?ve a problem with renaming directories with subdirectories. In root directory I create directory named ?lvl1? with subdirectory ?lvl2? When I rename directory lvl1 to lvl1-new I get: 1. /lvl1-new with subdir lvl2 but I can use only /lvl1-new and not /lvl1-new/lvl2 2. /lvl1 with subdir lvl2 but I can use only /lvl1/lvl2 and not /lvl1 Is it a feature or a bug? If bug is there a fix? PS:
2006 Sep 22
2
Editing the migration template
Hi. I''d like to edit the generated template in AR where tables are created. for example, this file is created when generating a new model or migration: class CreateModel < ActiveRecord::Migration def self.up create_table :models do |t| # t.column :type, I''d like to edit the above so it''ll generate this: class CreateModel <