Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Usage file in generators shouldn't be fetched only based on source_root | Piotr Sarnacki | 2012-04-01 | 1 | -0/+4 |
| | | | | | | | | In case `source_roout` is not set, `default_source_root` is used, which includes also `templates` directory. If there is no `templates` directory, `default_source_root` is not available and USAGE will not be displayed. USAGE should be also checked based on default directory excluding `templates`. | ||||
* | Avoid another blank line in generated migration and remove assertion as per ↵ | Marcelo Silveira | 2012-03-21 | 1 | -1/+0 |
| | | | | @spastorino request | ||||
* | Merge pull request #5532 from mhfs/migration_blank_line | José Valim | 2012-03-21 | 1 | -0/+1 |
|\ | | | | | Remove blank line from generated migration | ||||
| * | Remove blank line from generated migration | Marcelo Silveira | 2012-03-20 | 1 | -0/+1 |
| | | |||||
* | | Generate Migration Thats Adds Removed Index | Travis Jeffery | 2012-03-21 | 1 | -0/+18 |
|/ | | | | | When generating a migration that removes a field with an index, the down will add both the field and its index. | ||||
* | Support decimal{1,2} and decimal{1-2} and decimal{1.2} so it works fine with ↵ | José Valim | 2012-01-22 | 1 | -3/+3 |
| | | | | | | | | bash, zsh, etc, closes #4602 Conflicts: railties/test/generators/migration_generator_test.rb | ||||
* | Use 1.9 hash syntax instead. | José Valim | 2011-12-24 | 1 | -7/+7 |
| | |||||
* | assert_not_match -> assert_no_match. | José Valim | 2011-12-24 | 1 | -2/+2 |
| | |||||
* | Tidy up migration types. | José Valim | 2011-12-24 | 1 | -1/+1 |
| | |||||
* | added ability to specify from cli when generating a model/migration whether ↵ | Dmitrii Samoilov | 2011-12-24 | 1 | -0/+62 |
| | | | | particular property should be an index like this 'rails g model person name:string:index profile:string' | ||||
* | be sure to parenthesize the arguments when the first one is a RegExp literal | Akira Matsuda | 2011-05-18 | 1 | -8/+8 |
| | | | | | | 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 | ||||
* | Use Rails 3.1 `change` method in 'add_' migration generator | Prem Sichanugrist | 2011-01-04 | 1 | -6/+1 |
| | |||||
* | Facepunch failing tests. | José Valim | 2010-11-18 | 1 | -6/+6 |
| | |||||
* | Add test for migration generator with name not starting with add or remove. ↵ | rohit | 2010-06-20 | 1 | -0/+15 |
| | | | | | | [#4835 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make the migration generator handle pre-existing migrations with the same ↵ | Phil Smith | 2010-04-19 | 1 | -0/+13 |
| | | | | | | | | | | timestamp. In the event a migration already exists with that number, the new migration's timestamp will be incremented by 1. [#4412 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.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. | ||||
* | Get generators tests running on Ruby 1.9.1 | José Valim | 2010-01-19 | 1 | -1/+3 |
| | |||||
* | 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 | -21/+12 |
| | |||||
* | Create Rails::Generators::TestCase. | José Valim | 2010-01-03 | 1 | -4/+4 |
| | |||||
* | 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 | -1/+0 |
| | |||||
* | Added tessts for resources generator. | José Valim | 2009-06-28 | 1 | -16/+18 |
| | |||||
* | Added migration and session_migration generator. | José Valim | 2009-06-28 | 1 | -0/+58 |