Neeraj Kumar
2005-Jul-15 22:49 UTC
Where is the documentation for "ruby script/generate xyx"
I am trying to follow the RoR book and I see the wide usage of ''ruby script/generate ....''. Where is the documentation regarding all the powers of script and what they do? Thanks. - Neeraj
Sean Wallace
2005-Jul-16 00:38 UTC
Re: Where is the documentation for "ruby script/generate xyx"
Neeraj Kumar wrote:> I am trying to follow the RoR book and I see the wide usage of ''ruby > script/generate ....''. Where is the documentation regarding all the > powers of script and what they do? > > Thanks. > - NeerajGenerally, you can see some documentation simply by running the script/generate command without any parameters. The same goes for the generators. For example, ''script/generate model'' will give some instructions for generating a model. Sean
Phil Powell
2005-Jul-18 08:39 UTC
Re: Re: Where is the documentation for "ruby script/generate xyx"
I don''t believe that there''s any documentation available for the Generator classes (as far as I can find), apart from some tidbits in the Wiki. Could possibly run RDoc on the source files though. Would be really nice to have some proper documentation available for writing custom scripts though, with info on stuff like the ''manifest''. -Phil On 16 Jul 2005, at 01:38, Sean Wallace wrote:> Neeraj Kumar wrote: > >> I am trying to follow the RoR book and I see the wide usage of ''ruby >> script/generate ....''. Where is the documentation regarding all the >> powers of script and what they do? >> Thanks. >> - Neeraj >> > > Generally, you can see some documentation simply by running the > script/generate command without any parameters. The same goes for > the generators. For example, ''script/generate model'' will give some > instructions for generating a model. > > Sean > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > >