aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Ensure generator fallbacks work even when a context is given.José Valim2009-11-231-0/+7
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Contortions to work around brittle naming dependencyJeremy Kemper2009-11-091-6/+5
|
* Ruby 1.9.2: work around inherited hook being called before yielding to blockJeremy Kemper2009-11-091-7/+5
|
* Fix generators tests that expect a class nameJeremy Kemper2009-11-051-1/+1
|
* Avoid duplicated names on help description and show proper error message if ↵José Valim2009-11-031-2/+9
| | | | | | trying to load a Rails 2.x generator. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ensure that generators can be invoked from any directory.José Valim2009-11-021-1/+1
| | | | Signed-off-by: Engine Yard <engineyard@Engine-Yards-MacBook-Pro.local>
* Use Rails.root in railties testsJoshua Peek2009-10-181-3/+3
|
* Remove config.gem in favor of using the bundler. This makes config/boot.rb ↵Carl Lerche2009-10-161-1/+2
| | | | | | obsolete. The bundler library is at: http://github.com/wycats/bundler/ and is a rubygem.
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-2/+2
|
* Use less strict rules in generators lookup, so people can lay their ↵José Valim2009-08-101-0/+19
| | | | generators wherever they want.
* Ensure that not namespaced generators also load RAILS_ROOT/lib/templates files.José Valim2009-07-281-0/+5
|
* Ensure that developers options are overwritten by user options.José Valim2009-07-281-0/+14
|
* Allow nested and multiple fallbacks for generators.José Valim2009-07-211-5/+11
|
* Implemented generaators fallbacks.José Valim2009-07-161-0/+14
|
* Added source_paths to rails generators. If a template is added to ↵José Valim2009-07-151-1/+19
| | | | RAILS_ROOT/lib/templates/base/generator it will be used. For example, to customize edit.html.erb template on scaffold, just add a customized copy at RAILS_ROOT/lib/templates/erb/scaffold.
* Load generators from user home and show a error message if they can't be loaded.José Valim2009-07-041-1/+7
|
* Search for generators on vendorized plugins and gems.José Valim2009-07-041-1/+7
|
* Add some tests for no_color! behavior.José Valim2009-07-031-4/+11
|
* More tests for rails generators and lookup.José Valim2009-07-031-0/+80