Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add --old-style-hash option to force creating old style hash on Ruby 1.9 | Prem Sichanugrist | 2011-04-10 | 2 | -0/+15 |
| | | | | That means if you don't like the new syntax, you can pass --old-style-hash to force Rails to generate code with hash rockets. | ||||
* | Rails will now generate Ruby 1.9 style hash when running app generator on ↵ | Prem Sichanugrist | 2011-04-10 | 1 | -0/+10 |
| | | | | | | Ruby 1.9.x The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate. | ||||
* | Rails will now generate Ruby 1.9 style hash when running scaffold_controller ↵ | Prem Sichanugrist | 2011-04-10 | 1 | -0/+11 |
| | | | | | | | | generator on Ruby 1.9.x The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate. This patch has been requested by DHH. | ||||
* | Fix test for prepend giving a false positive. [#5716 state:resolved] | Aditya Sanghi | 2011-03-23 | 1 | -2/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | use parens and silence ambiguous args warnings | Jack Dempsey | 2011-03-14 | 2 | -18/+18 |
| | |||||
* | log and readme should respect --quiet | José Valim | 2011-03-04 | 1 | -0/+25 |
| | |||||
* | Removing redundant File.expand_path from generators test | Vinicius Baggio | 2011-02-23 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fixed issue #6363, avoid to pluralized already pluralized names and ↵ | Timothy N. Tsvetkov | 2011-02-16 | 1 | -0/+5 |
| | | | | | | | | singularize a single in generators, for example stadia is a valid plural for stadium. But calling pluralize for stadia will return stadias which sematically is not corrent in this case [#6363 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Correct migration name the test is looking to match. | Ben Orenstein | 2011-02-04 | 1 | -1/+1 |
| | | | | | | [#6375 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Configurable generation of add_index for references columns | Michał Łomnicki | 2011-02-01 | 1 | -0/+41 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Test non zero exit code and that a message still appears when generating ↵ | Philip Arndt | 2011-01-29 | 1 | -0/+11 |
| | | | | inside an existing Rails directory. | ||||
* | Dir.chdir is not useful in this test, that was for another one I am planning ↵ | Philip Arndt | 2011-01-29 | 1 | -4/+3 |
| | | | | to do. | ||||
* | Added test to ensure non zero exit codes when generating an application with ↵ | Philip Arndt | 2011-01-29 | 1 | -0/+7 |
| | | | | | | a reserved name. Unfortunately, I can't find out how to suppress its output so we see ....Invalid application name test. Please give a name which does not match one of the reserved rails words..................................... | ||||
* | change sqlite3-ruby => sqlite3 in the generators | Aaron Patterson | 2011-01-16 | 2 | -2/+2 |
| | |||||
* | README.rdoc is a template | Santiago Pastorino | 2011-01-15 | 1 | -0/+1 |
| | |||||
* | plugin new generator should generate config/routes.rb file for full engines | Santiago Pastorino | 2011-01-14 | 1 | -1/+3 |
| | |||||
* | Use Rails 3.1 `change` method in 'add_' migration generator | Prem Sichanugrist | 2011-01-04 | 1 | -6/+1 |
| | |||||
* | Use Rails 3.1 `change` method in model generator | Prem Sichanugrist | 2011-01-04 | 1 | -6/+2 |
| | |||||
* | Generate add_index by default when giving type belongs_to or references | Santiago Pastorino | 2010-12-16 | 1 | -2/+5 |
| | |||||
* | dragdrop was tested twice and effects.js was missing, added checks for ↵ | Santiago Pastorino | 2010-12-16 | 1 | -1/+4 |
| | | | | controls.js, dragdrop.js and effects.js to another test | ||||
* | Generate default layout in engine with --mountable option | Piotr Sarnacki | 2010-12-16 | 1 | -0/+1 |
| | |||||
* | Fix generation of prototype files, it should work with --javascript ↵ | Piotr Sarnacki | 2010-12-16 | 1 | -0/+3 |
| | | | | prototype, not --prototype | ||||
* | Generate javascripts in engine with --mountable option | Piotr Sarnacki | 2010-12-16 | 1 | -0/+29 |
| | |||||
* | Skip creating migration if --skip option is passed to model generator [#6144 ↵ | Piotr Sarnacki | 2010-12-16 | 1 | -3/+15 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Allow to generate namespaced generators [#6140 state:resolved] | Piotr Sarnacki | 2010-12-16 | 1 | -0/+39 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rake tasks for managing database while development and testing of engines | Piotr Sarnacki | 2010-12-09 | 1 | -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 too | Mikel Lindsaar | 2010-11-27 | 1 | -0/+9 |
| | |||||
* | Facepunch failing tests. | José Valim | 2010-11-18 | 2 | -9/+9 |
| | |||||
* | Fix plugin new --mountable: ActionController instead of ActiveController | Piotr Sarnacki | 2010-11-16 | 1 | -1/+1 |
| | |||||
* | Fix misspelling of 'deprecation' in plugin_generator. | Doug Ireton | 2010-11-16 | 1 | -1/+1 |
| | |||||
* | Deprecate plugin generator | Piotr Sarnacki | 2010-11-16 | 1 | -6/+12 |
| | |||||
* | Add skip-gemspec option to 'plugin new' generator | Piotr Sarnacki | 2010-11-16 | 1 | -0/+5 |
| | |||||
* | Remove whitespaces and add missing test. | José Valim | 2010-11-11 | 2 | -6/+12 |
| | |||||
* | Merge remote branch 'drogus/plugin_new' | José Valim | 2010-11-11 | 4 | -153/+544 |
|\ | | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb | ||||
| * | Allow to set dummy application path through options | Piotr Sarnacki | 2010-11-08 | 1 | -0/+7 |
| | | |||||
| * | Fix scaffold generator to be aware of namespace in isolated engine | Piotr Sarnacki | 2010-11-03 | 1 | -0/+153 |
| | | |||||
| * | Add --mountable option to 'plugin new' generator which generates full ↵ | Piotr Sarnacki | 2010-11-02 | 1 | -0/+9 |
| | | | | | | | | mountable application (engine) | ||||
| * | Add example rake task to 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 1 | -0/+1 |
| | | |||||
| * | create_dummy_app method that allows to easily create dummy application from ↵ | Piotr Sarnacki | 2010-11-02 | 1 | -1/+8 |
| | | | | | | | | template | ||||
| * | Properly skip test unit in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 2 | -5/+5 |
| | | |||||
| * | Properly handle other databases in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 3 | -5/+22 |
| | | |||||
| * | Skip active record properly in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 1 | -0/+1 |
| | | |||||
| * | Use rails integration tests by default in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 1 | -3/+1 |
| | | |||||
| * | Don't be verbose while creating dummy application in plugin new generator | Piotr Sarnacki | 2010-11-02 | 1 | -0/+4 |
| | | |||||
| * | Pass more options to test/dummy in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 1 | -0/+15 |
| | | |||||
| * | Add --full option to 'plugin new' generator, which generates rails engine | Piotr Sarnacki | 2010-11-02 | 1 | -1/+27 |
| | | |||||
| * | No need for say_step in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 1 | -4/+3 |
| | | |||||
| * | Remove integration tests and ActionModel/ActiveRecord calls from 'rake ↵ | Piotr Sarnacki | 2010-11-02 | 2 | -8/+2 |
| | | | | | | | | plugin new' generator, it shouldn't be available as default option | ||||
| * | Make tests for app and plugin generators more DRY | Piotr Sarnacki | 2010-11-02 | 3 | -273/+205 |
| | | |||||
| * | Allow easy overriding of test framework in 'rake plugin new' generator, ↵ | Piotr Sarnacki | 2010-11-02 | 1 | -0/+10 |
| | | | | | | | | using PluginBuilder |