aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
Commit message (Collapse)AuthorAgeFilesLines
* Generate add_index by default when giving type belongs_to or referencesSantiago Pastorino2010-12-161-2/+5
|
* dragdrop was tested twice and effects.js was missing, added checks for ↵Santiago Pastorino2010-12-161-1/+4
| | | | controls.js, dragdrop.js and effects.js to another test
* Generate default layout in engine with --mountable optionPiotr Sarnacki2010-12-161-0/+1
|
* Fix generation of prototype files, it should work with --javascript ↵Piotr Sarnacki2010-12-161-0/+3
| | | | prototype, not --prototype
* Generate javascripts in engine with --mountable optionPiotr Sarnacki2010-12-161-0/+29
|
* Skip creating migration if --skip option is passed to model generator [#6144 ↵Piotr Sarnacki2010-12-161-3/+15
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Allow to generate namespaced generators [#6140 state:resolved]Piotr Sarnacki2010-12-161-0/+39
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Rake tasks for managing database while development and testing of enginesPiotr Sarnacki2010-12-091-1/+1
| | | | | | | | | | | | Some of the engines needs database. As engine needs to be run inside Rails application, migrations and other database operations are run from dummy application. To make that process simple I changed db tasks to look for migrations in both engine's and application's db/migrate directory. You can run all of the database tasks from test/dummy or directly from engine with prefix app, like: rake app:db:migrate rake app:db:migrate:redo
* Application templates should work with HTTPS tooMikel Lindsaar2010-11-271-0/+9
|
* Facepunch failing tests.José Valim2010-11-182-9/+9
|
* Fix plugin new --mountable: ActionController instead of ActiveControllerPiotr Sarnacki2010-11-161-1/+1
|
* Fix misspelling of 'deprecation' in plugin_generator.Doug Ireton2010-11-161-1/+1
|
* Deprecate plugin generatorPiotr Sarnacki2010-11-161-6/+12
|
* Add skip-gemspec option to 'plugin new' generatorPiotr Sarnacki2010-11-161-0/+5
|
* Remove whitespaces and add missing test.José Valim2010-11-112-6/+12
|
* Merge remote branch 'drogus/plugin_new'José Valim2010-11-114-153/+544
|\ | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb
| * Allow to set dummy application path through optionsPiotr Sarnacki2010-11-081-0/+7
| |
| * Fix scaffold generator to be aware of namespace in isolated enginePiotr Sarnacki2010-11-031-0/+153
| |
| * Add --mountable option to 'plugin new' generator which generates full ↵Piotr Sarnacki2010-11-021-0/+9
| | | | | | | | mountable application (engine)
| * Add example rake task to 'plugin new' generatorPiotr Sarnacki2010-11-021-0/+1
| |
| * create_dummy_app method that allows to easily create dummy application from ↵Piotr Sarnacki2010-11-021-1/+8
| | | | | | | | template
| * Properly skip test unit in 'plugin new' generatorPiotr Sarnacki2010-11-022-5/+5
| |
| * Properly handle other databases in 'plugin new' generatorPiotr Sarnacki2010-11-023-5/+22
| |
| * Skip active record properly in 'plugin new' generatorPiotr Sarnacki2010-11-021-0/+1
| |
| * Use rails integration tests by default in 'plugin new' generatorPiotr Sarnacki2010-11-021-3/+1
| |
| * Don't be verbose while creating dummy application in plugin new generatorPiotr Sarnacki2010-11-021-0/+4
| |
| * Pass more options to test/dummy in 'plugin new' generatorPiotr Sarnacki2010-11-021-0/+15
| |
| * Add --full option to 'plugin new' generator, which generates rails enginePiotr Sarnacki2010-11-021-1/+27
| |
| * No need for say_step in 'plugin new' generatorPiotr Sarnacki2010-11-021-4/+3
| |
| * Remove integration tests and ActionModel/ActiveRecord calls from 'rake ↵Piotr Sarnacki2010-11-022-8/+2
| | | | | | | | plugin new' generator, it shouldn't be available as default option
| * Make tests for app and plugin generators more DRYPiotr Sarnacki2010-11-023-273/+205
| |
| * Allow easy overriding of test framework in 'rake plugin new' generator, ↵Piotr Sarnacki2010-11-021-0/+10
| | | | | | | | using PluginBuilder
| * Ensure that tests run properlyPiotr Sarnacki2010-11-021-0/+7
| |
| * Change // style regexp to %r{}, to not confuse editors code highlightingPiotr Sarnacki2010-11-021-1/+1
| |
| * Add --dev and --edge options to rails plugin newPiotr Sarnacki2010-11-021-0/+13
| |
| * Add support for templates for rails plugin newPiotr Sarnacki2010-11-021-0/+20
| |
| * Ensure that options for plugin new generator are not passed to application ↵Piotr Sarnacki2010-11-021-0/+6
| | | | | | | | generator
| * Added 'rails plugin new' generator which generates gem plugin skeleton.Piotr Sarnacki2010-11-021-0/+179
| | | | | | | | | | | | This command is based on enginex gem by José Valim. It generates gem structure and ads dummy application into test/dummy. This can be used to start developing any kind of extension for rails 3.
* | skip testing framework if app created with --skip-test-unit [#5796 ↵Rob Zolkos2010-11-111-0/+7
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | The model generator shouldn't throw warnings when using mass nouns [#5363 ↵Jeff Kreeftmeijer2010-11-111-0/+5
|/ | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* -j parameter added to rails new command.siong19872010-10-111-4/+24
| | | | | | | | Now you can start your apps with jquery with rails new myapp -j jquery, the default is still prototype [#5613 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Rename namespace method to isolate_namespace.Piotr Sarnacki2010-10-091-2/+2
| | | | | | | This change caused by confusion caused by calling engine "namespaced". Stuff inside engine can be namespaced for every engine. This method is not actually namespacing anything, it's isolating engine within the given namespace.
* This test is not only testing config/database stuff anymoreSantiago Pastorino2010-10-091-1/+1
|
* test that skip active records does not load fixturesAditya Sanghi2010-10-091-0/+3
| | | | | | [#4104 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Test if test/performance/browsing_test.rb exists when --skip-activerecord is ↵Santiago Pastorino2010-10-091-0/+1
| | | | | | used [#4104]
* Revert "Clean up the builder abstraction in AppGenerator."wycats2010-10-061-1/+67
| | | | | | | The phrase "clean up" misrepresents the fact that this removes a feature that ships with Rails 3.0. This reverts commit 6774e12afa0f29442aa612ddf6e51d5a1b7a4356.
* Clean up the builder abstraction in AppGenerator.José Valim2010-10-061-67/+1
| | | | This commit may be reverted once documentation and a proper way to handle actions are added.
* adding test for namedspaced mailersAditya Sanghi2010-10-061-0/+9
|
* :'' is not valid ruby.José Valim2010-10-021-1/+1
|
* Fix app and actions generators testsPiotr Sarnacki2010-09-252-0/+9
| | | | | | | Normally Rails.application is an instance, but for those tests Rails.application needs to be class. Signed-off-by: José Valim <jose.valim@gmail.com>