Rails::Generator is a code generation platform tailored for the Rails web application framework. Generators are easily invoked within Rails applications to add and remove components such as models and controllers. New generators are easy to create and may be distributed as RubyGems or tarballs for inclusion system-wide, per-user, or per-application.

Generators may subclass other generators to provide variations that require little or no new logic but replace the template files. The postback generator is an example: it subclasses the scaffold generator and just replaces the code templates with its own.

Now go forth and multiply^Wgenerate.

Show files where this module is defined (11 files)
Register or log in to add new notes.