aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/resource_generator_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove the --singeleton option from scaffold generator.Prem Sichanugrist2010-06-241-8/+0
| | | | | | | | It turned out to be that scaffold for singeleton resource will always depend on another model, and it's not possible at the moment to make the application tests pass after generate the singeleton scafold. So, it would be better to remove it for now and probably provide another generator, such as singeleton_scaffold, in which also require the depended model name. [#4863 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-231-1/+1
| | | | former since it's less obstrusive.
* Controller generator now creates routes as well [#4233 state:resolved]José Valim2010-03-191-9/+1
|
* Get generators tests running on Ruby 1.9.1José Valim2010-01-191-1/+2
|
* Generators load path now will be Ruby load path. If you want to use ↵José Valim2010-01-181-1/+1
| | | | rspec:install generator, you need generators/rspec/install_generator in your load path.
* Move all generators tests to use new test case syntax.José Valim2010-01-031-8/+1
|
* Create Rails::Generators::TestCase.José Valim2010-01-031-2/+2
|
* Scaffolding generates new routing dsl examplesJoshua Peek2009-12-091-3/+3
|
* Pass config.generators options along when RAILS_GENERATORS is set and show ↵José Valim2009-11-031-1/+1
| | | | | | --force-plural message just once. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* CI breakageYehuda Katz2009-11-021-1/+1
| | | | This reverts commit a288b74f1c75c6f100de7611a5093a421f1ad6d1.
* Generators should use Rails.root instead of Dir.pwd [#3408 status:resolved]José Valim2009-10-281-1/+1
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-1/+1
|
* Updated vendored Thor to 0.11.1 and update Rails::Generators.José Valim2009-07-141-1/+1
|
* Added lookup to generators.José Valim2009-07-031-12/+0
|
* Ensure both migration and routes are removed on revoke.José Valim2009-07-021-2/+11
|
* Started with scaffold controller and added remove_hook_for.José Valim2009-07-021-0/+14
|
* Simplifying resource generator.José Valim2009-06-291-6/+0
|
* Added singleton support to resource controller.José Valim2009-06-281-0/+14
|
* Added tessts for resources generator.José Valim2009-06-281-0/+87