Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | modify model generator warning message. refs [#174c9f0] | Kuldeep Aggarwal | 2014-02-27 | 1 | -3/+3 |
| | |||||
* | build fix. follow up to 174c9f0df39cd338a4871f82794256cc64f68a81 | Yves Senn | 2014-02-24 | 1 | -1/+1 |
| | |||||
* | Add warning when user tried to create model with pluralize name. | Kuldeep Aggarwal | 2014-02-23 | 1 | -1/+1 |
| | | | | | 1. Generate model with correct_name. 2. It will help new users to avoid mistakes when tried to create model with wrong name. | ||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -1/+1 |
| | |||||
* | Update test locations | Mike Moore | 2012-10-09 | 1 | -5/+5 |
| | | | | | | | | | | | | | | Change the default test locations to avoid confusion around the common testing terms "unit" and "functional". Add new rake tasks for the new locations, while maintaining backwards compatibility with the old rake tasks. New testing locations are as follows: app/models -> test/models (was test/units) app/helpers -> test/helpers (was test/units/helpers) app/controllers -> test/controllers (was test/functional) app/mailers -> test/mailers (was test/functional) | ||||
* | Remove --http. | José Valim | 2012-03-14 | 1 | -6/+0 |
| | |||||
* | Generate special controller and functional test templates for http apps | Carlos Antonio da Silva | 2012-03-14 | 1 | -0/+6 |
| | | | | | | | | | | | | The main goal is to not generate the format.html block in scaffold controller, and to generate a different functional test as we don't rely on redirects anymore, we should test for http responses. In addition to that, the :edit action is removed from the http controller and the edit route is not generated by default, as they usually do not make sense in this scenario. [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | be sure to parenthesize the arguments when the first one is a RegExp literal | Akira Matsuda | 2011-05-18 | 1 | -7/+7 |
| | | | | | | this fixes: "warning: ambiguous first argument; put parentheses or even spaces" because: you need this to tell the parser that you're not calling :/ method (division) details (Japanese!): http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/42445?42370-43277 | ||||
* | The model generator shouldn't throw warnings when using mass nouns [#5363 ↵ | Jeff Kreeftmeijer | 2010-11-11 | 1 | -0/+5 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove the --singeleton option from scaffold generator. | Prem Sichanugrist | 2010-06-24 | 1 | -8/+0 |
| | | | | | | | | It turned out to be that scaffold for singeleton resource will always depend on another model, and it's not possible at the moment to make the application tests pass after generate the singeleton scafold. So, it would be better to remove it for now and probably provide another generator, such as singeleton_scaffold, in which also require the depended model name. [#4863 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Load generators from both lib/rails/generators and lib/generators. Using the ↵ | José Valim | 2010-03-23 | 1 | -1/+1 |
| | | | | former since it's less obstrusive. | ||||
* | Controller generator now creates routes as well [#4233 state:resolved] | José Valim | 2010-03-19 | 1 | -9/+1 |
| | |||||
* | Get generators tests running on Ruby 1.9.1 | José Valim | 2010-01-19 | 1 | -1/+2 |
| | |||||
* | Generators load path now will be Ruby load path. If you want to use ↵ | José Valim | 2010-01-18 | 1 | -1/+1 |
| | | | | rspec:install generator, you need generators/rspec/install_generator in your load path. | ||||
* | Move all generators tests to use new test case syntax. | José Valim | 2010-01-03 | 1 | -8/+1 |
| | |||||
* | Create Rails::Generators::TestCase. | José Valim | 2010-01-03 | 1 | -2/+2 |
| | |||||
* | Scaffolding generates new routing dsl examples | Joshua Peek | 2009-12-09 | 1 | -3/+3 |
| | |||||
* | Pass config.generators options along when RAILS_GENERATORS is set and show ↵ | José Valim | 2009-11-03 | 1 | -1/+1 |
| | | | | | | --force-plural message just once. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | CI breakage | Yehuda Katz | 2009-11-02 | 1 | -1/+1 |
| | | | | This reverts commit a288b74f1c75c6f100de7611a5093a421f1ad6d1. | ||||
* | Generators should use Rails.root instead of Dir.pwd [#3408 status:resolved] | José Valim | 2009-10-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -1/+1 |
| | |||||
* | Updated vendored Thor to 0.11.1 and update Rails::Generators. | José Valim | 2009-07-14 | 1 | -1/+1 |
| | |||||
* | Added lookup to generators. | José Valim | 2009-07-03 | 1 | -12/+0 |
| | |||||
* | Ensure both migration and routes are removed on revoke. | José Valim | 2009-07-02 | 1 | -2/+11 |
| | |||||
* | Started with scaffold controller and added remove_hook_for. | José Valim | 2009-07-02 | 1 | -0/+14 |
| | |||||
* | Simplifying resource generator. | José Valim | 2009-06-29 | 1 | -6/+0 |
| | |||||
* | Added singleton support to resource controller. | José Valim | 2009-06-28 | 1 | -0/+14 |
| | |||||
* | Added tessts for resources generator. | José Valim | 2009-06-28 | 1 | -0/+87 |