rails/rails — pull request #4032 by knf (2011-12-19 18:23:58+00:00)
Title: Created a custom module generator. Generates a stub for a module in lib and an associated test

Description:
Stubs out a new module in the lib directory. Pass in the module name and a list of optional method names.
This is useful when writing custom modules for use in multiple models etc.
This generates a custom module file in lib as well as a test in test/unit.

Example:
`rails generate module custom method1 method2 method3`

Task: lib/custom.rb
Test: test/unit/custom_test.rb