rails--rails/railties/lib/rails_generator/generators/components
Fabien Jakimowicz 2cb60abfec Add an model_subclass generator.
This generator creates a new model as a subclass of an existing model and the unit test for that model.  Lets users avoid having to manually delete the fixtures and migration or remember to pass those arguments.

[#2702 state:committed]

Signed-off-by: Michael Koziarski <michael@koziarski.com>
2009-05-27 13:14:04 +02:00
..
controller Add helper test generators [#1199 state:resolved] 2008-11-17 21:56:39 -06:00
helper Add helper test generators [#1199 state:resolved] 2008-11-17 21:56:39 -06:00
integration_test Remove the class_path from the collisions test. 2008-10-14 21:59:55 +02:00
mailer Remove the class_path from the collisions test. 2008-10-14 21:59:55 +02:00
metal Make generated Metal bits a pure rack endpoint application (not middleware) 2008-12-17 09:53:56 -06:00
migration Merge documentation changes from docrails. 2008-05-16 23:21:35 +01:00
model Get Railties passing again 2009-05-16 12:28:25 -07:00
model_subclass Add an model_subclass generator. 2009-05-27 13:14:04 +02:00
observer Remove the class_path from the collisions test. 2008-10-14 21:59:55 +02:00
performance_test Don't create test/performance/test_helper.rb. Just require the needed files from test directly. [#1135 state:resolved] 2008-10-17 22:58:37 +02:00
plugin Fixed plugin generator so that generated unit tests would subclass ActiveSupport::TestCase, also introduced a helper script to reduce the needed require statements. [#1137 state:committed] 2008-10-30 12:57:52 +01:00
resource Add helper test generators [#1199 state:resolved] 2008-11-17 21:56:39 -06:00
scaffold Changed scaffold generated controller tests to use #to_param. 2009-02-13 21:37:03 +13:00
session_migration