aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
Commit message (Collapse)AuthorAgeFilesLines
...
* generate HTML5 number_field tag for integer fieldsAkira Matsuda2011-05-161-1/+5
|
* Fixed failing tests for namespaced_generators_test. in 1.9.2Arun Agrawal2011-05-141-1/+5
|
* application and plugin generation run bundle install unless --skip-gemfile ↵Xavier Noria2011-05-141-2/+11
| | | | or --skip-bundle
* Update Mailer generator to use 1.9 styled hash when run on Ruby 1.9Prem Sichanugrist2011-05-131-3/+25
| | | | As always, you can run `--old-style-hash` to override that.
* use #quietly in a few places, and s/silence/capture/ where intention is captureXavier Noria2011-05-132-12/+12
|
* new reporting method Kernel#quietlyXavier Noria2011-05-132-3/+3
|
* silences stderr to prevent an expected error message in the test suite from ↵Xavier Noria2011-05-131-2/+1
| | | | being echoed
* say silence when you mean silenceXavier Noria2011-05-131-1/+1
|
* application and plugin generation run bundle check unless --skip-gemfileXavier Noria2011-05-132-10/+19
| | | | | | | The purpose of this feature is that the user knows whether dependencies are satisfied. In particular, if they are not he will be warned upfront, rather than finding out himself in an abrupt way by trying to run something.
* removes duplicate testsXavier Noria2011-05-131-13/+0
|
* adds comments clarifying the role of SharedGeneratorTestsXavier Noria2011-05-073-0/+7
|
* be consistentAditya Sanghi2011-05-061-3/+1
|
* review fixesAditya Sanghi2011-05-061-1/+0
|
* default orm and test_framework to false; change application.rb template ↵Aditya Sanghi2011-05-061-3/+7
| | | | accordingly
* When skipping skip active record, mark config.generators.orm to false; LH ↵Aditya Sanghi2011-05-061-1/+4
| | | | 5796 remainder
* Adding jruby-openssl in Gemfile by default. #jrubyArun Agrawal2011-05-051-0/+1
|
* Fixed tests for new_plugin_generator.Arun Agrawal2011-05-041-2/+0
|
* restores the -j option, but now it accepts the name of any libraryXavier Noria2011-05-041-9/+29
| | | | | | If passed "foo", a gem "foo-rails" is added to the Gemfile and "foo" and "foo_ujs" are required in the application JavaScript manifest.
* Prototype and Scriptaculous are no longer vendored, but provided by ↵Xavier Noria2011-04-302-30/+1
| | | | prototype-rails from now on, also the -j option of the application generator is removed
* jdbcpostgresql support added into template.Vishnu Atrai2011-04-261-0/+6
|
* Merged pull request #300 from arunagw/jdbc_test.Aaron Patterson2011-04-251-0/+12
|\ | | | | Start Adding jdbcmysql support to new rails template.
| * jdbcsqlite3 support added into template. #jrubyArun Agrawal2011-04-231-0/+6
| |
| * Start Adding jdbcmysql support to new rails template.Arun Agrawal2011-04-231-0/+6
| | | | | | More will come for jruby app.
* | Fix tests.José Valim2011-04-251-1/+1
| |
* | Add `app/assets/images` directory to plugin new generatorPrem Sichanugrist2011-04-251-0/+4
| |
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-231-1/+1
|\ \ | |/ |/| | | | | Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
| * Fix 'FIXME' annotation typoSebastian Martinez2011-04-191-1/+1
| |
* | Images path fixed in test.Arun Agrawal2011-04-231-1/+1
|/
* What a lovely surprise, controller_generator_test was also failing.José Valim2011-04-171-2/+2
|
* Fix more generator tests.José Valim2011-04-171-4/+4
|
* Fix assets generators.José Valim2011-04-171-16/+10
|
* Make generators more modular, add hooks and improve test suite.José Valim2011-04-172-31/+44
|
* Generate app/* stubs directories for full plugins to show ththat it is ↵José Valim2011-04-171-0/+6
| | | | possible to extend them.
* Fix plugin new generator to work with new javascript/stylesheets conventionsPiotr Sarnacki2011-04-161-16/+18
|
* Fix generator tests.José Valim2011-04-151-22/+21
|
* Update scaffold controller to generate scss file if Sass is availablePrem Sichanugrist2011-04-151-3/+9
|
* The controller and resource generators will now automatically produce asset ↵David Heinemeier Hansson2011-04-142-0/+38
| | | | stubs (this can be turned off with --skip-assets). These stubs will use Coffee and Sass, if those libraries are available. [DHH]
* jQuery is the new defaultXavier Noria2011-04-132-26/+14
|
* Add --old-style-hash option to force creating old style hash on Ruby 1.9Prem Sichanugrist2011-04-102-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 Sichanugrist2011-04-101-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 Sichanugrist2011-04-101-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 Sanghi2011-03-231-2/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* use parens and silence ambiguous args warningsJack Dempsey2011-03-142-18/+18
|
* log and readme should respect --quietJosé Valim2011-03-041-0/+25
|
* Removing redundant File.expand_path from generators testVinicius Baggio2011-02-231-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fixed issue #6363, avoid to pluralized already pluralized names and ↵Timothy N. Tsvetkov2011-02-161-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 Orenstein2011-02-041-1/+1
| | | | | | [#6375 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Configurable generation of add_index for references columnsMichał Łomnicki2011-02-011-0/+41
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Test non zero exit code and that a message still appears when generating ↵Philip Arndt2011-01-291-0/+11
| | | | inside an existing Rails directory.
* Dir.chdir is not useful in this test, that was for another one I am planning ↵Philip Arndt2011-01-291-4/+3
| | | | to do.