aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
Commit message (Collapse)AuthorAgeFilesLines
* Expand paths to app builders relative to the working directoryCarl Lerche2010-05-061-0/+8
|
* Provide a mechanism for overriding the entire generator via a class that ↵Carlhuda2010-04-301-38/+96
| | | | handles the individual elements of generating a new Rails application
* Set up app generator class to make it easier to for alt-stacks to override ↵Carlhuda2010-04-301-0/+4
| | | | targeted areas
* Update generators to use thor 0.13.6 with simpler source_root handling.José Valim2010-04-301-1/+1
|
* Reorganize the mailer generator a bit.José Valim2010-04-301-1/+1
|
* Move ActionMailer generator to AMCarlhuda2010-04-291-1/+2
|
* Update thor dependency to 0.13.5José Valim2010-04-291-1/+1
|
* warn user if options are given before application name [#3435 state:resolved]Ravinder Singh2010-04-291-0/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make the migration generator handle pre-existing migrations with the same ↵Phil Smith2010-04-191-0/+13
| | | | | | | | | | timestamp. In the event a migration already exists with that number, the new migration's timestamp will be incremented by 1. [#4412 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Generate module file for namespaced models [#4230 state:resolved]Andrew White2010-04-121-0/+8
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Partially revert "A new application now comes with a layout and a stylesheet."Jeremy Kemper2010-04-093-0/+26
| | | | | | | | | 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
* Include app name in layout titleJeremy Kemper2010-04-091-2/+2
|
* A new application now comes with a layout and a stylesheet.José Valim2010-04-064-26/+7
|
* 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
|