aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Make generators more modular, add hooks and improve test suite.José Valim2011-04-171-2/+7
|
* The controller and resource generators will now automatically produce asset ↵David Heinemeier Hansson2011-04-141-0/+1
| | | | stubs (this can be turned off with --skip-assets). These stubs will use Coffee and Sass, if those libraries are available. [DHH]
* Allow generators nested in more than one levelSantiago Pastorino2011-01-121-1/+1
|
* Ensure that app generator is not loaded twice to get rid of warningsPiotr Sarnacki2010-11-221-0/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Tidy up generators commits.José Valim2010-11-171-0/+1
|
* Perf: speed up 2 methods in railties.Emilio Tagua2010-09-221-4/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Trifling typosRaphomet2010-08-211-2/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove the --singeleton option from scaffold generator.Prem Sichanugrist2010-06-241-2/+1
| | | | | | | | 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>
* Tidy up generators based on latest change on AM.José Valim2010-06-131-1/+1
|
* Hide remaining generators hooks [#4790 state:resolved]José Valim2010-06-081-1/+5
|
* Still copy application configuration to generator even if they are required ↵José Valim2010-06-031-6/+2
| | | | earlier. Also tidy up the guide a little bit.
* Update hidden namespace mechanism to work better with alternate choices and ↵wycats2010-05-051-4/+42
| | | | to support full namespaces (not just entire groups)
* Partially revert "A new application now comes with a layout and a stylesheet."Jeremy Kemper2010-04-091-0/+2
| | | | | | | | | This reverts commit ea2c5fa8046e2f953b366adc94f0610ccfea0828. Conflicts: railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb railties/test/generators/app_generator_test.rb
* Remove :layout option from generators.José Valim2010-04-061-5/+0
|
* A new application now comes with a layout and a stylesheet.José Valim2010-04-061-2/+0
|
* moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵Xavier Noria2010-04-051-1/+1
| | | | there, same for #class_eval to simplify, and adds coverage for class_eval
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-231-2/+2
| | | | former since it's less obstrusive.
* Prettify generators description whenever using the default stack [#4143 ↵José Valim2010-03-121-0/+4
| | | | status:resolved]
* Add autoload to generators modules and fix failing test.José Valim2010-02-261-1/+7
|
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-2/+2
|
* Add missing -h/--help flag to several rails command [#3909 status:resolved]Prem Sichanugrist2010-02-101-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add config.generators.templates to provide alternative paths for template ↵José Valim2010-02-061-0/+5
| | | | lookup.
* Make bin/rails call rails/commands/application, fix generators usage and ↵José Valim2010-02-031-3/+1
| | | | update .gitignores.
* Rename usage path to command to just the command nameDavid Heinemeier Hansson2010-02-021-2/+1
|
* Add config.generators.fallbacks.José Valim2010-02-011-0/+1
|
* Automatically configure generators if application is defined.José Valim2010-01-291-0/+3
|
* Move the ActiveRecord generator settings into the RailtieCarl Lerche2010-01-281-6/+1
|
* Cleanup the test_unit generator move into the railtieCarl Lerche2010-01-281-7/+2
|
* Fix the test_framework generator testsCarl Lerche2010-01-281-0/+1
|
* Test::Unit Railtie Carlhuda2010-01-281-2/+1
|
* Ensure app does not show up in generators.José Valim2010-01-261-0/+1
|
* Give higher priority to rails generators.José Valim2010-01-211-9/+14
|
* Don't let generators die if rubygems puts crap in your load path.José Valim2010-01-211-1/+3
|
* Allow railties to specify generators paths.José Valim2010-01-191-14/+24
|
* Improve script/generate help.José Valim2010-01-191-1/+11
|
* Improve generators help.José Valim2010-01-181-26/+48
|
* More cleaning up on rails generators load path.José Valim2010-01-181-42/+37
|
* Generators load path now will be Ruby load path. If you want to use ↵José Valim2010-01-181-52/+26
| | | | rspec:install generator, you need generators/rspec/install_generator in your load path.
* Automatically remove :generators: from namespaces.José Valim2010-01-181-1/+1
|
* Ensure generators can be invoked by their shortcut and remove attr_reader tasks.José Valim2010-01-181-2/+3
|
* Use regexp in lookups instead of traversing namespaces. This removes the ↵José Valim2010-01-031-92/+56
| | | | need of special cases.
* Update vendored Thor.José Valim2010-01-021-1/+1
|
* Fix generators tests.José Valim2009-12-271-2/+3
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix the i18n dependency problemDavid Heinemeier Hansson2009-12-271-4/+3
|
* Fully expand relative rails framework paths and make sure we aren'tJoshua Peek2009-12-161-2/+3
| | | | adding any to the load path more than once.
* Update vendored thor and ensure that content is completely modified before ↵José Valim2009-12-011-1/+1
| | | | | | checking file collisions. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ensure generator fallbacks work even when a context is given.José Valim2009-11-231-1/+1
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Also load generators at lib/rails_generators.José Valim2009-11-231-22/+10
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Update Rails Generators to use Thor 0.12.0.José Valim2009-11-081-1/+1
| | | | Signed-off-by: Yehuda Katz <wycats@mobile-166-129-219-135.mycingular.net>
* Configure generator when needed rather than during initializationJeremy Kemper2009-11-031-0/+6
|