similar to: How to namespace custom generators?

Displaying 20 results from an estimated 3000 matches similar to: "How to namespace custom generators?"

2010 Sep 20
1
Should a Gem's dependencies be listed in the parent app's Gemfile?
I am working on a Gem that has several Gem dependencies of its own. The Gem''s .gemspec looks good (I think) and when "bundle install" is called from the parent app, it lists that it is indeed "Using" the Gem''s required Gems. I''ll refrain from an Inception analogy here ;) When I fire up the app and make a request, I get "uninitialized constant
2009 Mar 10
7
Managing migrations
I have a migration "x" that when it runs self.up it adds a new column to a table, and of course when self. down is run it deletes said table... After I ran this migration I continued to work and in the process added a couple other migrations. After a while I realized that the column migration "x" created was a mistake and I no longer need it. So I ran rake db:migrate:down
2011 Apr 30
2
create namespace without creating a package?
Hi all, I am a C++/C# programmer who is new to R. I would like to use something like "namespace" to organize my functions without creating a package. How can I do this? Thanks! xiagao1982 2011-04-30 [[alternative HTML version deleted]]
2005 Nov 22
1
model and controller namespace/structure
Hi all - I have a large project that has about 100 tables in the database that we want to test porting to Rails. My main issue right now is that although I can tell rails to do something like: generate model Review::UserReview and generate controller Review::UserReview and rails will write out the correct directory packaging, all my unit tests break because of their dependency on loading
2010 Apr 18
0
Rails 3: new namespace inside nested resource?
Hi, Is there a way to use namespaces inside nested resources? For example, I have: resources :users do resources :tags end and I''d like to place the tags controller inside controllers/users, with the equivalent for templates. If I try this: resources :users do namespace :users do resources :tags end end I''ll get redundant route names: users_user_tags,
2006 Apr 25
3
Creating your own generators
So I''m interested in creating an application specific generator. The script/generate command tells me that all I have to do is put a generator in my rails_root/generators: > 2. Unzip to directory /Users/{username}/.rails/generators/login > to use the generator with all your Rails apps > or to {app_root}/generators/login > to use with this app only. So I
2011 Jun 22
0
Railtie initializer and generators
I am creating a gem for a Rails project and I got some troubles to understand how generators and initializers work. I would like to initialize my module loading some stuff from the database from models related to tables my gem should create with a migration file. Problem is : if I create a Railtie and put it my gem lib directory, when I try to run my generator (to create the migration template
2006 May 30
0
RadRails generators throwing ''No such file to load'' errors
if anyone has a minute maybe you can help with a newbish problem im having with radrails v0.6.3. If i try to generate a migration through the ''generators'' panel i get error messages like this: myProj> ruby script/generate migration newtest myProj> -e:3:in `load'': No such file to load -- script/generate (LoadError) from -e:3 Although the generators work fine
2003 Dec 30
1
floor of n observations in number generators
I couldnt find a previous posting on this in the archives, maybe it has already been mentioned. If you use a calculation to generate n observations in random number generators and you don't round to the nearest integer you may be generating n-1 numbers not n numbers as you thought depending on the storage precision of the calculation. e.g. > m <- 1000 > pi0 <- 0.9 >
2002 Jul 04
1
random generators - curiosity
Hi again, This is just out of pure curiosity: I came across the documentation of the various random generators in R and saw that the entropy-based kernel random generator available on Linux, Solaris and some other OSes is not by default available. (This generators random values based on the entropy associated with all IO that is handled by the kernel -- this includes TCP/IP packets.) There
2011 Jun 01
9
Routes and Namespace
Could someone explain me how to work with routes and namespaces? I need to understand it urgent to build an application. Thanks! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/aFVOeUZzVUlsUUFK. To post to this group, send email to
2010 Nov 05
1
Error: user Initialization failed: namespace configuration error: inbox=yes namespace missing
In my email archiving setup, no user will have an inbox (regular mail is taken care of by another system). Is it not possible to configure a dovecot setup without an inbox? /Per Jessen, Z?rich
2014 Feb 20
0
Re: libvirt_lxc namespace and umount in global namespace
On Thu, Feb 20, 2014 at 01:47:52PM +0100, Olivier Nicaise wrote: > Hi, > > I am currently having an issue with the libvirt_lxc binary that is launched > when starting a lxc instance using libvirt. This process seems to have its > own namespace for mounts. > What happens is that if I umount something in the global namespace, it > stays mounted in the libvirt_lxc namespace.
2008 Nov 21
1
namespace public / namespace shared - question
After looking through wiki/config/list I'm still not sure, what exactly is the difference between those two. Even all the examples in dovecot's wiki don't have a single "namespace shared" anywhere. And there's only short mention about the difference in dovecot.conf . Peeking into rfc2342 - would shared namespace relate to "Other Users' Namespace(s)" and
2018 Dec 30
0
BUG: cannot move messages to root mailfolder in namespace "There can be only one namespace with inbox=yes"
> On 30 December 2018 at 17:09 Marc Roos <M.Roos at f1-outsourcing.eu> wrote: > > > > I can only move messages to a root namespace folder when specifying > inbox=yes. That is strange because it is not even the inbox. I don't > even get why it is not by default possible, maybe bug there? > This makes no sense. inbox=yes namespace means the namespace which
2019 Jan 04
0
BUG: cannot move messages to root mailfolder in namespace "There can be only one namespace with inbox=yes"
Where is a manual describing how to do this? Archive tree on different storage? ??? Archive/Archives/Archived Messages/Archived mail <- need to store messages in root folder also ??? ??? 2017 ??? ??? ??? projects ??? ??? ??? ??? project ??? ??? ??? ??? project1 ??? ??? ??? ??? project2 ??? ??? ??? ??? project3 ??? ??? ??? ??? project4 ??? ??? ??? ??? project5 ??? ??? ??? Sent Messages ???
2020 Oct 17
0
backup of namespace, is still looking at (touching?) other namespace?
When I am doing this: doveadm backup -f -n inbox -F /root/backup-accounts.txt tcp:mailxx.local:542 I am getting an error on the distributed storage, which I exactly did not wanted to be touched. doveadm(testaccount): Error: remote(mailxx.local:542): User initialization failed: Namespace 'Archive/': stat(/home/mail-archive/testaccount/Archive/mailboxes) failed: Permission denied
2012 Mar 02
0
c/c++ Random Number Generators Benchmarks using OpenMP
Dear R gurus, I am interested in permutations-based cpu-intensive methods so I had to pay a little attention to Random Number Generators (RNG). For my needs, RNGs have to: 1) be fast. I profiled my algorithms, and for some the bottleneck was the RNG. 2) be scalable. Meaning that I want the RNG to remain fast as I add threads. 3) offer a long cycle length. Some basic generators have a
2018 Dec 31
0
BUG: cannot move messages to root mailfolder in namespace "There can be only one namespace with inbox=yes"
> On 31 December 2018 at 15:47 Marc Roos <M.Roos at f1-outsourcing.eu> wrote: > > > > > >> > >> I can only move messages to a root namespace folder when specifying > >> inbox=yes. That is strange because it is not even the inbox. I don't > > >> even get why it is not by default possible, maybe bug there? > >>
2012 Jun 18
1
migrating sql virtual 1 to 2, namespace configuration error: inbox=yes namespace missing
I'm trying to setup a new server on centos 6, from old dovecot 1.x I installed 'dovecot --version 2.1.1' from dovecot rpm I converted conf file as per migration specs, also, copied sql conf across when I try to retrieve email, log has *1: dovecot.conf -m *2 and sql conf *3 follows *1------------------------------- dovecot: master: Dovecot v2.1.1 starting up (core dumps disabled)