aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
Commit message (Collapse)AuthorAgeFilesLines
...
| * Allow to generate namespaced generators [#6140 state:resolved]Piotr Sarnacki2010-12-161-2/+2
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Refactor db:load:config to automatically pick additional migrations if ↵Piotr Sarnacki2010-12-092-15/+1
| | | | | | | | ENGINE_PATH is available
| * Rake tasks for managing database while development and testing of enginesPiotr Sarnacki2010-12-093-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * Do not require fixtures in example integration test in engine if active ↵Piotr Sarnacki2010-12-091-0/+2
| | | | | | | | record is skipeed
| * Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-051-1/+1
| |\
| | * For templates' gem method, :env is deprecated, use :group insteadRyan Bigg2010-12-011-1/+1
| | |
| * | Allow http templates again, fix the broken testXavier Shay2010-11-271-1/+1
| | | | | | | | | | | | | | | | | | [#5926 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * | Application templates should work with HTTPS tooMikel Lindsaar2010-11-271-1/+1
| |/
| * Rakefiles are executables, and rake loads rake, not rakefile coderaggi2010-11-253-5/+3
| |
| * Update to Prototype 1.7Santiago Pastorino2010-11-231-326/+407
| | | | | | | | [#6042 state:committed]
* | Enable IdentityMap when generating new apps.Emilio Tagua2010-11-191-0/+5
|/
* Do not run migrations from mounted engine separately.Piotr Sarnacki2010-11-161-2/+0
| | | | | | | | | There is no good way now to run migrations for mounted engine in test application, but that way of running migrations makes it really hard to run engine in development mode and test it (you need to copy migrations in dev mode and in that case in tests they will be run twice). Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix plugin new --mountable: ActionController instead of ActiveControllerPiotr Sarnacki2010-11-161-1/+1
|
* Change inside_namespace method to inside_template and use it in all ↵Piotr Sarnacki2010-11-166-31/+20
| | | | | | | | | | templates by default The initial implementation of namespacing was based on wrong assumptions. Namespacing path and class names in templates should be based on current namespace and skip_namespace attribute, but it should be not necessary to wrap content on all the templates into additional block methods.
* Fix misspelling of 'deprecation' in plugin_generator.Doug Ireton2010-11-161-1/+1
|
* Bye bye bang bang.Piotr Sarnacki2010-11-161-1/+1
|
* Deprecate plugin generatorPiotr Sarnacki2010-11-161-0/+7
|
* Add skip-gemspec option to 'plugin new' generatorPiotr Sarnacki2010-11-161-7/+10
|
* Update to JQuery 1.4.4Santiago Pastorino2010-11-121-344/+640
| | | | | Check out http://blog.jquery.com/2010/11/11/jquery-1-4-4-release-notes/ for information on what's new.
* Merge remote branch 'drogus/plugin_new'José Valim2010-11-1134-151/+634
|\ | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb
| * Allow to set dummy application path through optionsPiotr Sarnacki2010-11-081-1/+4
| |
| * Fix scaffold generator to be aware of namespace in isolated enginePiotr Sarnacki2010-11-0310-5/+25
| |
| * Add --mountable option to 'plugin new' generator which generates full ↵Piotr Sarnacki2010-11-026-3/+43
| | | | | | | | mountable application (engine)
| * Add example rake task to 'plugin new' generatorPiotr Sarnacki2010-11-022-0/+5
| |
| * create_dummy_app method that allows to easily create dummy application from ↵Piotr Sarnacki2010-11-023-37/+32
| | | | | | | | template
| * Properly skip test unit in 'plugin new' generatorPiotr Sarnacki2010-11-024-21/+17
| |
| * Properly handle other databases in 'plugin new' generatorPiotr Sarnacki2010-11-024-22/+29
| |
| * Skip active record properly in 'plugin new' generatorPiotr Sarnacki2010-11-021-1/+1
| |
| * Use rails integration tests by default in 'plugin new' generatorPiotr Sarnacki2010-11-025-15/+7
| |
| * We don't need to configure ActionMailer in plugin's test helper, it's ↵Piotr Sarnacki2010-11-021-4/+0
| | | | | | | | configured by dummy app
| * Refactor app and plugin generators to use new Thor APIPiotr Sarnacki2010-11-022-20/+4
| |
| * Do not create additional newlinePiotr Sarnacki2010-11-021-1/+1
| |
| * Don't be verbose while creating dummy application in plugin new generatorPiotr Sarnacki2010-11-021-3/+13
| |
| * No need to require 'app_base', it's required in app_generatorPiotr Sarnacki2010-11-021-1/+0
| |
| * Pass more options to test/dummy in 'plugin new' generatorPiotr Sarnacki2010-11-023-16/+14
| |
| * Add --full option to 'plugin new' generator, which generates rails enginePiotr Sarnacki2010-11-0212-8/+78
| |
| * No need for say_step in 'plugin new' generatorPiotr Sarnacki2010-11-022-18/+1
| |
| * DRY up app generator and plugin new generator. Moved shared options to ↵Piotr Sarnacki2010-11-023-52/+31
| | | | | | | | AppBase generator
| * Remove integration tests and ActionModel/ActiveRecord calls from 'rake ↵Piotr Sarnacki2010-11-026-35/+5
| | | | | | | | plugin new' generator, it shouldn't be available as default option
| * We don't need gem tasks, we have a gemspecPiotr Sarnacki2010-11-021-17/+0
| |
| * Builder should not be responsible for running store_application_definition ↵Piotr Sarnacki2010-11-021-1/+1
| | | | | | | | method
| * Make tests for app and plugin generators more DRYPiotr Sarnacki2010-11-021-1/+1
| |
| * Allow easy overriding of test framework in 'rake plugin new' generator, ↵Piotr Sarnacki2010-11-023-16/+32
| | | | | | | | using PluginBuilder
| * Add --dev and --edge options to rails plugin newPiotr Sarnacki2010-11-025-25/+48
| |
| * Added USAGE for rails plugin newPiotr Sarnacki2010-11-021-0/+10
| |
| * That method is already declared at AppBasePiotr Sarnacki2010-11-021-23/+0
| |
| * Add support for templates for rails plugin newPiotr Sarnacki2010-11-023-15/+30
| |
| * Ensure that options for plugin new generator are not passed to application ↵Piotr Sarnacki2010-11-021-1/+1
| | | | | | | | generator
| * Refactored AppGenerator and PluginNewGenerator to inherit from AppBase.Piotr Sarnacki2010-11-023-57/+79
| |
| * Added 'rails plugin new' generator which generates gem plugin skeleton.Piotr Sarnacki2010-11-0215-0/+390
| | | | | | | | | | | | 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.