[Rails] Re: Generator Documentation

2010-05-28 Thread Alex P
Here's a great railscast upon the subject: http://railscasts.com/episodes/58-how-to-make-a-generator I would just download the Rails Code, and do the same thing they do. On May 27, 2:26 pm, James ja...@numbat.com.au wrote: Sorry, to clarify this I mean in *writing* my own generators - using the

[Rails] Re: Generator Documentation

2010-05-27 Thread Alex P
if you enter script/generate –help you get a list of possible generators. for example, script/generate model –help gives you help on the model generator On May 27, 10:16 am, James Nelson zayd...@gmail.com wrote: Hi, I'm new to this list so sorry if i'm posting in the wrong place. I've just

Re: [Rails] Re: Generator Documentation

2010-05-27 Thread James
Sorry, to clarify this I mean in *writing* my own generators - using the Thor built in actions, the Rails ones, etc. Rails templates are what I'm actually trying to build. James On Thu, May 27, 2010 at 6:47 PM, Alex P oleksandr.pet...@gmail.com wrote: if you enter script/generate –help you