Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix `ERB.new` argument deprecated warning | yuuji.yaginuma | 2019-01-31 | 1 | -1/+5 |
| | | | | | | | | This fixes following warning. ``` warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. ``` | ||||
* | Add rails db:system:change command | Gannon McGibbon | 2019-01-09 | 1 | -0/+36 |
| | | | | | | | | | | | | | | Add `rails db:system:change` command for changing databases. ``` bin/rails db:system:change --to=postgresql force config/database.yml gsub Gemfile ``` The change command copies a template `config/database.yml` with the target database adapter into your app, and replaces your database gem with the target database gem. | ||||
* | Reset `ActiveRecord::Base.configurations` to the value before | yuuji.yaginuma | 2018-09-29 | 1 | -1/+2 |
| | |||||
* | Refactor migrations_path command option to database | Gannon McGibbon | 2018-09-28 | 1 | -0/+14 |
| | |||||
* | Use .tt extension to all the template files | Rafael Mendonça França | 2017-11-13 | 1 | -2/+2 |
| | | | | | | | | Make clear that the files are not to be run for interpreters. Fixes #23847. Fixes #30690. Closes #23878. | ||||
* | Adding frozen_string_literal pragma to Railties. | Pat Allan | 2017-08-14 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | Define path with __dir__ | bogdanvlviv | 2017-05-23 | 1 | -2/+2 |
| | | | | | | ".. with __dir__ we can restore order in the Universe." - by @fxn Related to 5b8738c2df003a96f0e490c43559747618d10f5f | ||||
* | applies remaining conventions across the project | Xavier Noria | 2016-08-06 | 1 | -1/+0 |
| | |||||
* | applies new string literal convention in railties/test | Xavier Noria | 2016-08-06 | 1 | -11/+11 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Cleaned up generators tests using internal assertion helper | Ronak Jangir | 2015-08-20 | 1 | -0/+2 |
| | |||||
* | - Extracted silence_stream method to new module in activesupport/testing. | Vipul A M | 2015-01-20 | 1 | -17/+3 |
| | | | | | | | | | | | | - Added include for the same in ActiveSupport::Test. - Removed occurrences of silence_stream being used elsewhere. - Reordered activesupport testcase requires alphabetically. - Removed require of silence stream from test_case - Moved quietly method to stream helper - Moved capture output to stream helper module and setup requires for the same elsewhere | ||||
* | Use IO::NULL always | Nobuyoshi Nakada | 2015-01-10 | 1 | -1/+1 |
| | |||||
* | Remove deprecated methods at `Kernel`. | Rafael Mendonça França | 2015-01-04 | 1 | -0/+10 |
| | | | | `silence_stderr`, `silence_stream`, `capture` and `quietly`. | ||||
* | Rails.root should be a Pathname | Akira Matsuda | 2014-08-28 | 1 | -1/+1 |
| | |||||
* | Simplify path setup | Carlos Antonio da Silva | 2014-07-30 | 1 | -1/+1 |
| | |||||
* | Keep quietly and capture undeprecated on your suite | Rafael Mendonça França | 2014-07-15 | 1 | -0/+8 |
| | |||||
* | Fix method redefinition warning | Andrew White | 2013-12-17 | 1 | -2/+6 |
| | |||||
* | Missing AV requires in railties tests | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+1 |
| | |||||
* | Using load_generators | Arun Agrawal | 2011-05-25 | 1 | -1/+1 |
| | |||||
* | Streamline generators initialization flow. | José Valim | 2011-05-25 | 1 | -1/+1 |
| | |||||
* | 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> | ||||
* | Generators are not aware of namespace of isolated engines and applications | Piotr Sarnacki | 2010-09-24 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Still copy application configuration to generator even if they are required ↵ | José Valim | 2010-06-02 | 1 | -2/+5 |
| | | | | earlier. Also tidy up the guide a little bit. | ||||
* | 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 | -0/+7 |
| | |||||
* | Add config.generators.templates to provide alternative paths for template ↵ | José Valim | 2010-02-06 | 1 | -0/+1 |
| | | | | lookup. | ||||
* | Automatically configure generators if application is defined. | José Valim | 2010-01-29 | 1 | -1/+1 |
| | |||||
* | Fix the test_framework generator tests | Carl Lerche | 2010-01-28 | 1 | -1/+1 |
| | |||||
* | Get generators tests running on Ruby 1.9.1 | José Valim | 2010-01-19 | 1 | -11/+10 |
| | |||||
* | Generators load path now will be Ruby load path. If you want to use ↵ | José Valim | 2010-01-18 | 1 | -1/+0 |
| | | | | rspec:install generator, you need generators/rspec/install_generator in your load path. | ||||
* | Set deprecation warnings for RAILS_ENV and RAILS_DEFAULT_LOGGER. | José Valim | 2010-01-13 | 1 | -2/+0 |
| | |||||
* | Bring generators tests back to life. | José Valim | 2010-01-04 | 1 | -0/+4 |
| | |||||
* | Move all generators tests to use new test case syntax. | José Valim | 2010-01-03 | 1 | -2/+4 |
| | |||||
* | Create Rails::Generators::TestCase. | José Valim | 2010-01-03 | 1 | -83/+7 |
| | |||||
* | Remove --freeze (since Rails will come bundled in all new apps) and update ↵ | José Valim | 2009-11-03 | 1 | -1/+1 |
| | | | | | | gem action to change Gemfile instead of config.environment. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ensure that generators can be invoked from any directory. | José Valim | 2009-11-02 | 1 | -5/+10 |
| | | | | Signed-off-by: Engine Yard <engineyard@Engine-Yards-MacBook-Pro.local> | ||||
* | CI breakage | Yehuda Katz | 2009-11-02 | 1 | -8/+3 |
| | | | | This reverts commit a288b74f1c75c6f100de7611a5093a421f1ad6d1. | ||||
* | Generators should use Rails.root instead of Dir.pwd [#3408 status:resolved] | José Valim | 2009-10-28 | 1 | -3/+8 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵ | Carl Lerche | 2009-10-16 | 1 | -17/+3 |
| | | | | application's object root) | ||||
* | Finish porting over the initializers to the app object and fix all the tests | Carl Lerche | 2009-10-14 | 1 | -2/+7 |
| | |||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -1/+1 |
| | |||||
* | Require rubygems in generators test so Action Dispatch can find rack | Jeremy Kemper | 2009-09-14 | 1 | -1/+3 |
| | |||||
* | Fix deprecated gem-name requires | Jeremy Kemper | 2009-09-14 | 1 | -1/+1 |
| | |||||
* | Use less strict rules in generators lookup, so people can lay their ↵ | José Valim | 2009-08-10 | 1 | -2/+5 |
| | | | | generators wherever they want. | ||||
* | Allow rails templates relative to the current path to be given. | José Valim | 2009-08-07 | 1 | -1/+1 |
| | |||||
* | Change false to :verbose => false as in new Thor version. | José Valim | 2009-07-15 | 1 | -0/+1 |
| | |||||
* | Refactored some generators to make use of improved invocations on thor. | José Valim | 2009-07-15 | 1 | -6/+5 |
| | |||||
* | Make specs pass on Ruby 1.9. | José Valim | 2009-07-06 | 1 | -1/+7 |
| |