Module: Rails

Defined in:
lib/rails_generator/base.rb,
lib/rails_generator/spec.rb,
lib/rails_generator/scripts.rb,
lib/rails_generator/commands.rb,
lib/rails_generator/manifest.rb,
lib/rails_generator/simple_logger.rb,
lib/rails_generator/lookup.rb

Overview

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.

Defined Under Namespace

Modules: Generator