aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-349/+0
|
* Cherry-pick core extensions. Don't explicitly require rubygems. Use load ↵Jeremy Kemper2009-09-141-0/+1
| | | | path for vendored thor.
* Ensure scaffold works properly even if plural name is given. [#3062]José Valim2009-08-301-3/+49
|
* Ensure that developers options are overwritten by user options.José Valim2009-07-281-17/+21
|
* Allow templates for non namespaced generators too.José Valim2009-07-251-1/+5
|
* Added source_paths to rails generators. If a template is added to ↵José Valim2009-07-151-4/+18
| | | | 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.
* Allow nil and false to be given as configuration values and avoid creating ↵José Valim2009-07-151-8/+10
| | | | unecessary hashes.
* Allow namespaced configuration on generators.José Valim2009-07-151-3/+33
|
* Refactored some generators to make use of improved invocations on thor.José Valim2009-07-151-4/+4
|
* Updated vendored Thor to 0.11.1 and update Rails::Generators.José Valim2009-07-141-105/+23
|
* Do not require options on class_option.José Valim2009-07-131-1/+1
|
* Cache source root in a rails specific variable.José Valim2009-07-131-1/+1
|
* Add the new generators environment and update commands.José Valim2009-07-081-1/+1
|
* Generators are configured on initialization if RAILS_ENV=generators.José Valim2009-07-081-31/+4
|
* Use the proper shebang when using Ruby 1.9 or jruby or windows.José Valim2009-07-041-9/+12
|
* Removed invoke_if and allow hook_for to accept boolean options.José Valim2009-07-041-95/+43
|
* Added lookup to generators.José Valim2009-07-031-2/+1
|
* Make invoke output white and use padding.José Valim2009-07-021-2/+4
|
* Added stylesheets controller which is invoked by scaffold.José Valim2009-07-021-16/+15
|
* Added tests to scaffold controller.José Valim2009-07-021-0/+1
|
* Added comments to meta programming code.José Valim2009-07-021-0/+34
|
* Removing unecessary class methods.José Valim2009-07-021-33/+21
|
* Added scaffold_controller.José Valim2009-07-021-4/+8
|
* Show second level invocations on usage.José Valim2009-07-021-10/+25
|
* Started with scaffold controller and added remove_hook_for.José Valim2009-07-021-0/+15
|
* Simplifying resource generator.José Valim2009-06-291-4/+44
|
* Added ResourceGenerator.José Valim2009-06-281-16/+28
|
* Added migrations and make base generators be lazy loaded.José Valim2009-06-281-7/+12
|
* Show invoked generators options on meta generators.José Valim2009-06-271-28/+42
|
* Added parent option to model generator.José Valim2009-06-271-1/+3
|
* Output invocations.José Valim2009-06-271-0/+4
|
* Rename invoke_for to hook_for.José Valim2009-06-271-4/+4
|
* Add a fixture replacement hook to TestUnit model generator.José Valim2009-06-271-16/+46
|
* Initial scratch of model generators.José Valim2009-06-271-2/+3
|
* Do not generate aliases automatically to avoid conflicts.José Valim2009-06-271-3/+9
|
* Make Observer generator agnostic.José Valim2009-06-271-4/+5
|
* Add invoke_iff and invoke_for to the public interface.José Valim2009-06-261-111/+111
|
* Added invoke_if and make use of it on controller generators.José Valim2009-06-261-9/+73
|
* invoke_for now uses Rails built-in lookup.José Valim2009-06-261-5/+27
|
* Use type :default for invoke_for, this allows --no-test-framework and ↵José Valim2009-06-261-1/+1
| | | | --skip-test-framework to be given.
* Clean up class collisions check and a class method helper.José Valim2009-06-261-3/+2
|
* More code refactoring.José Valim2009-06-251-30/+25
|
* Refactoring out descriptions.José Valim2009-06-251-7/+18
|
* Added Mailer generaator template engine and test framework agnostic.José Valim2009-06-251-0/+19
|
* Added class collision checks.José Valim2009-06-251-0/+33
|
* Tests for plugin generator.José Valim2009-06-251-2/+2
|
* Get base_name from class_name.José Valim2009-06-251-11/+10
|
* Removed TODOs.José Valim2009-06-251-4/+3
|
* Added plugin generators (and a couple of TODOs).José Valim2009-06-231-4/+7
|
* Splitting base into several files.José Valim2009-06-231-13/+19
|