16Jan/070
Where do I place Ruby on Rails Generators?
Ruby on Rails generators are an easy way to build up a site. They lay down the ground work for you to hack with.
The most common generators used are the model, controller, and for some of you perhaps the scaffold generator.
But people tend to find the default generators to be a little...limiting. So they decide to create their own.
When I started creating my own generators, I ran into a slight problem, I didn't know where to save them!
Save your generators in:
- RAILS_ROOT/lib/generators
- RAILS_ROOT/vendor/generators
- ~/.rails/generators (as in your home directory)
Hope that helps new Ruby On Rails programmers
