search for: generation

Displaying 20 results from an estimated 14049 matches for "generation".

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 >
2008 Feb 27
9
"no space left on device" related to directory limit
Hello, We have a 3-node cluster setup with ocfs2. Since friday one of the nodes went down and would not become clustermember after a reboot because it was unable to write to the ocfs2 filesystem. Message: no space left on device. There is plenty of diskspace though. No problem whatsoever to create a file / directory on the filesystem using one of the other nodes. Today one of the
2008 Sep 22
17
SYSLINUX 3.72-pre7: getting close
I just uploaded SYSLINUX 3.72-pre7. I''m hoping this will be the final 3.72 prerelease. Please test it and holler if something is (still) broken. -hpa
1999 Nov 24
1
Need help..
...f course that x>c. In terms > of the mean, it is ac/(a-1) for a>1 .. I assume that you are aware of this, > and on the strong dependence on c. > > Let me re-iterate: The inverse method is CERTAINLY GOOD ENOUGH. Make sure > that you have not screwed up in the random variate generation (inversion > itself), in this case, F(x) is pretty trivial to invert. > v > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help&q...
2006 Apr 20
8
generate scaffold not generating views
Hi! Sorry for the newbie question... I''m following the depot example in AgileWebDevelopmentWithRails. Stangelly, generating scaffolding using the command (page 53): ./script/generate scaffold Product Admin does not generate any .rhtml file, but just: exists app/controllers/ exists app/helpers/ exists app/views/admin
2005 Dec 22
2
Documentation for generate controller
I can find the API documentation, but where is the documentation for the standard generators. The wiki has 3rd party generators- but I want to know specifically what generate controller does, and how it differs from generate scaffold, and what other generators there are. Where is this succinctly documented? -- Posted via http://www.ruby-forum.com/.
2009 Feb 10
4
executing a generator on the browser
Hi I currently have a generator which creates a directory of files. I want clients on my app to be able to execute that generator and save those files in their personal folder on the server. The thing is that I have always executed this generator via terminal and it always creates the series of files on the current path on the terminal where I executed the command. How can a user execute this
2006 Jul 08
4
Application generation
I love rails but I want more. :-) I''d like a generator that generates a complete application. It would read an information model, and from it generate the MVC''s with a validation-constrained model, errors and exceptions, page navigation and rich view layout... The information model would be represented by ruby "meta" classes, and could be generated as an
2006 Nov 03
10
[PLUGIN] rspec_resource_generator - RESTful scaffold generator with RSpec specifications
rspec_resource_generator ======================== By Pat Maddox Use this generator to generate RESTful scaffolding with RSpec specifications. Syntax is exactly the same as the scaffold_resource generator: ./script/generate rspec_resource ModelName [field:type field:type] When you run this generator, it will create a migration, model, and model spec file. In addition, it gives you a
2008 Jan 23
7
generate with spaces?
Hi, I''ve been using puppet for about a week and a half now, and it''s definitely making my life a lot easier. I''m using 0.24.1 and I''ve run into a small snag. I''m trying to write some code to make sure user home directories exist for users in LDAP. I''m trying to get their uid, gid and home directory from getent with something like: $uid =
2006 Jan 06
8
How do I write a generator?
I''d like to take some advice and write a generator to change the scaffold.css. How do I do that? I looked on the wiki and googled it but have not found anything yet. Any help would be much appreciated. bruce
2012 Jan 17
5
[PATCH 1/2] c: NFC Remove redundant parentheses
--- generator/generator_c.ml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/generator/generator_c.ml b/generator/generator_c.ml index 4324ec0..9cfb2b7 100644 --- a/generator/generator_c.ml +++ b/generator/generator_c.ml @@ -1187,7 +1187,7 @@ trace_send_line (guestfs_h *g) let n = name_of_optargt argt in let
2006 Jul 18
2
Write a new generator
Hi, Could anyone point me to how to write a generator in Ruby? I was going through code in ruby files at \rails-1.1.2\lib\rails_generatorand found that it reads gems specification to look for generator s present on the system. The way there are tutorials on how to create plugins for Rails, are there any for Generators? At the end of it I should be able to do something like this ruby
2009 Dec 09
1
How to namespace custom generators?
I have a few custom generators within ~/.rails/generators. This works fine and they all show up under "User" as they should when I run script/generate. I would like to be able to have multiple Dirs. under ~/.rails/ generators so I can better organize things and have unique repos for each. If I do something like
2005 Mar 05
3
login generator problem
I am trying to use the login generator, but I keep getting the following error when I run "generate login Account": /usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/rails_generator/base.rb:84:in `manifest'': No manifest for ''login'' generator. (NotImplementedError) from (eval):3:in `__send__'' from (eval):3:in
2010 May 12
8
Trouble developing Rails plugins/gems with generators
Hi, I''ve been trying to develop a Rails gem/plugin with generators for Rails 3. I first had a separate gem project with a gem statement in my Gemfile with a :path option to point at it. But then I had to run $ rake install on each change in my gem to have Rails pick up on it. I have now instead put my generators inside RAILS_ROOT/lib so they are easier to test/develop.
2013 Aug 05
5
[patch/Cygwin]: Simplify host key generation in ssh-host-config script
Hi, as the subject says, the below patch just simplifies the host key generation in the Cygwin-specific ssh-host-config script. Rather than testing and generating each key, call ssh-keygen -A. Could somebody with checkin rights please apply? Thanks, Corinna Index: contrib/cygwin/ssh-host-config =================================================================== RCS...
2006 Feb 03
5
writing my own generator
Hi all, I wanted to write my own generator. What would be a good starting point. Is there any documentation on this, Best practices, etc? Regards, Harm de Laat -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060203/c64c4730/attachment.html
2006 Jun 07
2
script/generate scaffold pluralizes class names
Hi everyone, I''m a rails & ruby nuby, and this is my first post to the list. Here''s my environment in case it helps diagnose my problem: Ruby version 1.8.4 (powerpc-darwin8.6.0) RubyGems version 0.8.11 Rails version 1.1.2 Active Record version 1.14.2 Action Pack version 1.12.1 Action Web Service version 1.1.2 Action Mailer version 1.2.1 Active Support version 1.3.1 I did
2006 Jun 14
2
script/generate --pretend; Won''t
Cannot pretend: > ruby script\generate --pretend controller entryform index Couldn''t find ''--pretend'' generator I just wanted to see what files it would generate... Warren Fred