aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
Commit message (Collapse)AuthorAgeFilesLines
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-2320-20/+20
| | | | former since it's less obstrusive.
* Controller generators should use routes shortcut.José Valim2010-03-221-1/+1
|
* Killing fixtures in mailer before they kill me (they usually lead to very ↵José Valim2010-03-221-3/+5
| | | | brittle tests).
* Also revert mailer generator test changes in 8b50f89Jeremy Kemper2010-03-211-2/+2
|
* Fix regression introduced in 8b50f89. Generated views mentioned the wrong path.Jeremy Kemper2010-03-211-2/+2
|
* Make ERB generators more flexible and customizable.José Valim2010-03-211-4/+4
|
* Controller generator now creates routes as well [#4233 state:resolved]José Valim2010-03-194-20/+16
|
* removed useless require lineSebastian Martinez2010-03-191-3/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Use human_name in scaffold.José Valim2010-03-171-0/+18
|
* In app_generator, fix hardcoded `bundle` call to derive the bundle ↵Caio Chassot2010-03-121-2/+3
| | | | | | | | executable name from Thor::Util.ruby_command. This ensures that eg. when `rails` is called from `ruby1.9`, `bundle1.9` is called. Signed-off-by: José Valim <jose.valim@gmail.com>
* Add a check to ensure that the application name does not already exist, i.e. ↵Kieran Pilkington2010-03-121-0/+7
| | | | | | String or Module are part of ruby [#3872 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* the folder public/javascripts should be created by default [#4027 ↵Ramon Soares2010-02-261-0/+1
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Add readme as method in Rails::Generators::Actions (as we had in 2.3)José Valim2010-02-171-0/+6
|
* Invalid namespace on app generation raises an errorKyle Maxwell2010-02-171-0/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix a couple failing tests.José Valim2010-02-101-4/+2
|
* Fixes unescaped version passthrough of generator 'gem' command. [#3901 ↵Michael Bleigh2010-02-101-0/+18
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Debrittlize tests somewhat - fix for CI buildMikel Lindsaar2010-02-101-5/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* fix usage examples and more to use new invocationsRomD2010-02-061-5/+5
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Add config.generators.templates to provide alternative paths for template ↵José Valim2010-02-061-0/+1
| | | | lookup.
* Fixes test failYehuda Katz2010-02-051-1/+1
|
* Move framework requires and Bundler.require from boot.rb to app.rb. Cut down ↵Jeremy Kemper2010-02-041-1/+1
| | | | the list of railtie choices to those that make sense.
* Update Gemfile to use latest bundler config.José Valim2010-02-041-0/+7
|
* Updating index.html to remove script/generate and making railties tests pass ↵Mikel Lindsaar2010-02-021-24/+4
| | | | again
* Fixed --dev flag for new bundlerMikel Lindsaar2010-02-021-3/+3
|
* Revert "Drop JS scripts from core"Joshua Peek2010-01-301-3/+5
| | | | This reverts commit a06c47a52b90a5d812e64309488ad5926dc583ca.
* Drop JS scripts from coreJoshua Peek2010-01-291-5/+3
|
* Automatically configure generators if application is defined.José Valim2010-01-291-1/+1
|
* Fix the test_framework generator testsCarl Lerche2010-01-281-1/+1
|
* Rename 'defaults' class method to 'default' to reflect that it's a declarationJeremy Kemper2010-01-271-1/+1
|
* Attend to brittle mailer generator testsJeremy Kemper2010-01-271-3/+3
|
* Update generators to use new defaults.José Valim and Mikel Lindsaar2010-01-261-1/+1
|
* Updating generators for mailer to reflect changes in APIMikel Lindsaar2010-01-261-3/+3
|
* More work on generated mailer templates.José Valim and Mikel Lindsaar2010-01-262-6/+13
|
* Change mailer generator templates and refactor the whole naming schema.José Valim and Mikel Lindsaar2010-01-252-20/+82
|
* Make plugin generator compatible with new schema.José Valim2010-01-241-1/+1
|
* I removed the rdoc task from plugin RakefileJoshua Peek2010-01-221-1/+1
|
* `script/generate mailer Notifier` will now create a mailer at app/mailers.José Valim2010-01-191-4/+4
|
* Get generators tests running on Ruby 1.9.1José Valim2010-01-1920-30/+51
|
* Generators load path now will be Ruby load path. If you want to use ↵José Valim2010-01-1820-21/+20
| | | | rspec:install generator, you need generators/rspec/install_generator in your load path.
* Automatically remove :generators: from namespaces.José Valim2010-01-182-2/+2
|
* Ensure generators can be invoked by their shortcut and remove attr_reader tasks.José Valim2010-01-181-0/+13
|
* Plugin generator should use templates.José Valim2010-01-171-0/+15
|
* Take --skip-activerecord into account boot.rb requires. [#3711 status:resolved]Rizwan Reza2010-01-171-5/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Bundle automatically if --dev or --edge is given as option.José Valim2010-01-151-3/+5
|
* Set deprecation warnings for RAILS_ENV and RAILS_DEFAULT_LOGGER.José Valim2010-01-131-2/+0
|
* Ensure application names are not singularized.José Valim2010-01-071-2/+7
|
* Ensure config/application.rb also uses app_const instead of app_name.classify.José Valim2010-01-071-1/+2
|
* Fix failing app generator test when using the --dev optionJeffrey Hardy2010-01-061-1/+1
|
* Bring generators tests back to life.José Valim2010-01-041-0/+4
|
* Move all generators tests to use new test case syntax.José Valim2010-01-0320-181/+49
|