aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
Commit message (Collapse)AuthorAgeFilesLines
...
* Simplifying resource generator.José Valim2009-06-293-9/+4
|
* Added singleton support to resource controller.José Valim2009-06-281-0/+14
|
* Added tessts for resources generator.José Valim2009-06-285-37/+148
|
* Added migration and session_migration generator.José Valim2009-06-283-0/+91
|
* Move file action only to app generator.José Valim2009-06-282-4/+13
|
* Added migrations and make base generators be lazy loaded.José Valim2009-06-282-45/+66
|
* Show invoked generators options on meta generators.José Valim2009-06-272-0/+11
|
* Add model_subclass generator with deprecation warning.José Valim2009-06-271-0/+5
|
* Added parent option to model generator.José Valim2009-06-271-0/+5
|
* Add a fixture replacement hook to TestUnit model generator.José Valim2009-06-275-4/+10
|
* Initial scratch of model generators.José Valim2009-06-276-12/+107
|
* Make Observer generator agnostic.José Valim2009-06-271-0/+1
|
* Spec --no and --skip.José Valim2009-06-261-1/+12
|
* Added Controller Generators.José Valim2009-06-262-2/+64
|
* Clean up class collisions check and a class method helper.José Valim2009-06-261-0/+6
|
* Class collision checks.José Valim2009-06-261-1/+1
|
* Added HelperGenerator.José Valim2009-06-263-2/+38
|
* Added integration and performance test generators.José Valim2009-06-262-0/+36
|
* More tests for mailer.José Valim2009-06-251-1/+7
|
* Mailer tests.José Valim2009-06-251-0/+48
|
* More code refactoring.José Valim2009-06-251-0/+24
|
* Added class collision checks.José Valim2009-06-253-12/+18
|
* Added observer generator.José Valim2009-06-251-0/+34
|
* Make tests pass again after merge.José Valim2009-06-251-0/+4
|
* Tests for metal generator.José Valim2009-06-252-4/+18
|
* Tests for plugin generator.José Valim2009-06-254-8/+58
|
* Change current sstructure.José Valim2009-06-2310-627/+345
|
* Removing template runner old specs.José Valim2009-06-231-216/+0
|
* Add an model_subclass generator.Fabien Jakimowicz2009-05-271-0/+15
| | | | | | | | 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>
* Fixed that template runner gem method to output :lib => false correctly ↵Damian Terentiev2009-03-121-0/+5
| | | | | | [#1940 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added :env option for gem in template runner [#1983 state:resolved]Andrew Vit2009-02-281-0/+11
| | | | | | | | | For installing gems that are only needed in the test environment, specify the :env option so the dependency is written to config/environments/test.rb: gem 'rspec', :env => 'test' gem 'quietbacktrace', :env => %w[development test] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure template_runner can run script/* ruby scripts under Windows. [#1859 ↵unknown2009-02-161-3/+13
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix broken scaffolding tests [#1889 state:committed]Mike Gunderloy2009-02-051-2/+2
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-031-11/+9
|
* Ensure template runner tests don't depend on hash ordering [#1654 ↵Mike Gunderloy2008-12-281-1/+1
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Adding test coverage and better logging to Rails::TemplateRunner [#1618 ↵Aaron Quint2008-12-271-0/+190
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add helper test generators [#1199 state:resolved]Eugene Bolshakov2008-11-175-27/+83
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Don't include the path when checking class collisions [#545 state:resolved]Joshua Peek2008-10-131-0/+3
|
* Generate belongs_to association when generating a modelTarmo Tänav2008-08-231-0/+8
|
* Generate belongs_to associations automatically for 'references' types [#640 ↵Tarmo Tänav2008-08-231-0/+8
| | | | state:resolved]
* Stub out timestamped_migrations in generator testsJoshua Peek2008-07-191-1/+2
|
* Merge with docrails.Pratik Naik2008-07-161-1/+1
|
* Added tests to show that 2d372d7 breaks old generator behavior (#545 ↵Joshua Peek2008-07-111-0/+19
| | | | state:resolved)
* Warn and uses singularized ModelName if a plural ModelName is given to ↵Pat George2008-06-271-0/+42
| | | | | | script/generate. Override with --force-plural. [#333 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge docrails.Pratik Naik2008-05-251-30/+30
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add some test coverage for RailsControllerGenerator.Joshua Peek2008-05-132-10/+44
|
* * Remove default_url_options from mailer generatorCody Fauser2008-04-211-3/+3
| | | | | | * Improve mailer documentation regarding generating URLs * Add no_match to mailer generator to warn contributors about default_url_options Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Add example for default_url_options[:host] to generated mailers.Mislav Marohnić2008-04-181-1/+4
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Changed mailer generator to not use instance variables.Mislav Marohnić2008-04-181-6/+6
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Cleanup generator tests by extracting repeated code into ↵Mislav Marohnić2008-04-185-358/+225
| | | | | | generator_test_helper. Add test for mailer generator. Signed-off-by: Joshua Peek <josh@joshpeek.com>