Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Spruce up `command_for`. | Kasper Timm Hansen | 2015-12-05 | 1 | -4/+1 |
| | | | | | | * Ditch the instance methods local variable. * Prefer Ruby's default nil return, and remove else branch. | ||||
* | `exists?` isn't for users. | Kasper Timm Hansen | 2015-12-05 | 1 | -1/+1 |
| | | | | | | | | Checking that a command exists before running it is an implementation detail of the Rails command and Rake task world right now. Eventually I'd like to get rid of `exists?`, when I've worked out another way to fall back to run the old tasks. | ||||
* | Move `command_name_for` to private section. | Kasper Timm Hansen | 2015-12-05 | 1 | -4/+4 |
| | | | | | Users shouldn't have to lookup the command name for a task. Put it in the private section, so it doesn't show up in any generated documentation. | ||||
* | Add Rails command infrastructure and encapsulate development caching | Chuck Callebs | 2015-12-04 | 3 | -1/+104 |
| | |||||
* | Use the PORT environment variable for rails server | David Cornu | 2015-08-18 | 1 | -1/+1 |
| | |||||
* | Use exist? instead of deprecated exists? | Kasper Timm Hansen | 2015-08-05 | 1 | -2/+2 |
| | |||||
* | Add rake dev:cache task to enable dev mode caching. | Chuck Callebs | 2015-08-04 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | | Taken from @Sonopa's commits on PR #19091. Add support for dev caching via "rails s" flags. Implement suggestions from @kaspth. Remove temporary cache file if server does not have flags. Break at 80 characters in railties/CHANGELOG.md Remove ability to disable cache based on server options. Add more comprehensive options: --dev-caching / --no-dev-caching | ||||
* | make test runner work correctly inside engine | yuuji.yaginuma | 2015-07-12 | 1 | -1/+5 |
| | |||||
* | remove Rack::Lock for webrick | Aaron Patterson | 2015-07-10 | 1 | -11/+1 |
| | | | | constant loading should be thread safe now, so lets remove this | ||||
* | Remove `config` options from `default_options` in `railties` | Nuri Hodges | 2015-06-26 | 1 | -2/+1 |
| | | | | Fixes #20345. | ||||
* | Remove ContentLength middleware from the defaults. | Aaron Patterson | 2015-06-17 | 1 | -1/+0 |
| | | | | | ContentLength is not part of the rack SPEC since rack/rack@86ddc7a6ec68d7b6951c2dbd07947c4254e8bc0d If you want it, just add it as a middleware in your config. | ||||
* | Improve test runner's Minitest integration. | Kasper Timm Hansen | 2015-06-04 | 1 | -2/+2 |
| | | | | | | | | | | | This also adds free mix and matching of directories, files and lines filters. Like so: bin/rails test models/post_test.rb test/integration models/person_test.rb:26 You can also mix in a traditional Minitest filter: bin/rails test test/integration -n /check_it_out/ | ||||
* | Refactor railties console and dbconsole commands | Mehmet Emin İNAÇ | 2015-05-10 | 3 | -101/+99 |
| | | | | fix minor convention problems | ||||
* | Remove sqlite support from `rails dbconsole` | Andrew White | 2015-04-22 | 1 | -3/+0 |
| | | | | | | Support for versions of SQLite less than 3 was removed in #6011 as part of the Rails 4.0 release. Therefore there is no need to have support for it in the `rails dbconsole` command anymore. | ||||
* | Don't ask something that we don't want to | Rafael Mendonça França | 2015-04-22 | 1 | -1/+1 |
| | | | | | | We only want to support adapters that we officially support through the entire framework so it is better to not ask patches for adapters that we may not support | ||||
* | [ci skip] Document running a rake command as a rails command | Nick Cox | 2015-04-15 | 1 | -0/+11 |
| | |||||
* | Revert "Merge pull request #19404 from dmathieu/remove_rack_env" | Jeremy Kemper | 2015-03-20 | 4 | -4/+4 |
| | | | | | | | Preserving RACK_ENV behavior. This reverts commit 7bdc7635b885e473f6a577264fd8efad1c02174f, reversing changes made to 45786be516e13d55a1fca9a4abaddd5781209103. | ||||
* | Merge pull request #19404 from dmathieu/remove_rack_env | Aaron Patterson | 2015-03-19 | 4 | -4/+4 |
|\ | | | | | Don't fallback to RACK_ENV when RAILS_ENV is not present | ||||
| * | don't fallback to RACK_ENV when RAILS_ENV is not present | Damien Mathieu | 2015-03-19 | 4 | -4/+4 |
| | | |||||
* | | `-e` / `--environment` for the test runner. | Yves Senn | 2015-03-18 | 1 | -1/+1 |
| | | |||||
* | | move argument parsing into the `Runner`. | Yves Senn | 2015-03-18 | 1 | -3/+1 |
| | | |||||
* | | Move some logic to runner | Arthur Neves | 2015-03-18 | 1 | -13/+1 |
| | | |||||
* | | no need to escape the method in a regex wrap, minitest does that for us | Arthur Neves | 2015-03-18 | 1 | -1/+1 |
| | | |||||
* | | Add test run by line, and report error by line | Arthur Neves | 2015-03-18 | 1 | -3/+13 |
| | | |||||
* | | spike of a `OptionParser` backed test runner. | Yves Senn | 2015-03-18 | 2 | -1/+15 |
|/ | |||||
* | Remove unused Rails::Server#log_path | Phill Baker | 2015-02-16 | 1 | -4/+0 |
| | | | | | | | With refactors to Rails::Sever from v3 to v4, this method is no longer used and is untested. Previous usage: https://github.com/rails/rails/blob/3-2-stable/railties/lib/rails/commands/server.rb#L79 Currently set from: https://github.com/rails/rails/blob/7b75551a1a4539876f878f37a2439cd02f89d961/railties/lib/rails/application/configuration.rb#L69 | ||||
* | Use public Module#include, in favor of https://bugs.ruby-lang.org/issues/8846 | robertomiranda | 2015-01-31 | 1 | -1/+1 |
| | | | | ref: https://github.com/rails/rails/pull/18763#issuecomment-72349769 | ||||
* | Merge pull request #18380 from nobu/Use-EXEEXT | Santiago Pastorino | 2015-01-19 | 1 | -1/+3 |
|\ | | | | | Use EXEEXT | ||||
| * | Use EXEEXT | Nobuyoshi Nakada | 2015-01-07 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | Use the configured variable EXEEXT, instead of hardcoded suffix and platform names. And on such platforms, files which do not end with the suffix are not executable, so the original names are not necessary, in general. | ||||
* | | No need of requiring `rbconfig`, it is by-default loaded | Kuldeep Aggarwal | 2015-01-10 | 2 | -2/+0 |
|/ | |||||
* | Remove debugger support | Rafael Mendonça França | 2015-01-04 | 2 | -38/+0 |
| | | | | | bebugger doesn't work with Ruby 2.2 so we don't need to support it anymore | ||||
* | Remove the tmp/sessions folder and its clear task | Robin Dupret | 2015-01-03 | 1 | -1/+1 |
| | | | | | | | | | | Commit 1aea470 introduced this directory but this was at a time when the default way to store sessions was on the file system under the tmp directory. Let's remove references to it from the documentation as well. [Robin Dupret & yui-knk] | ||||
* | Add a code checking about file or not to the rails db command | yuki3738 | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | Pass symbol as an argument instead of a block | Erik Michaels-Ober | 2014-11-29 | 1 | -1/+1 |
| | |||||
* | Merge pull request #17761 from pschrammel/master | Yves Senn | 2014-11-26 | 1 | -1/+1 |
|\ | | | | | | | be more general with adapter name | ||||
| * | be more general with adapter name | Peter Schrammel | 2014-11-25 | 1 | -1/+1 |
| | | |||||
* | | Provide support for SQL Server connections with dbconsole using sqsh | Juan Ignacio Pumarino | 2014-11-26 | 1 | -0/+15 |
|/ | |||||
* | added description for rails generators, and fixed sentence formation for ↵ | Rishi Jain | 2014-11-10 | 2 | -0/+4 |
| | | | | active_support/notifications [ci skip] | ||||
* | Merge pull request #17280 from aditya-kapoor/remove-unneeded-file | Yves Senn | 2014-10-16 | 1 | -9/+0 |
|\ | | | | | remove unneeded file from Railties. | ||||
| * | remove unneeded file | Aditya Kapoor | 2014-10-16 | 1 | -9/+0 |
| | | |||||
* | | use require_command! instead of calling its definition | Aditya Kapoor | 2014-10-16 | 1 | -1/+1 |
|/ | |||||
* | Document that the default for `rails server -b` has changed | Godfrey Chan | 2014-09-22 | 1 | -5/+1 |
| | | | | Fixes #16578 | ||||
* | fix grammar [ci skip] | Vijay Dev | 2014-08-22 | 1 | -1/+1 |
| | |||||
* | fix server names [ci skip] | Vijay Dev | 2014-08-22 | 1 | -1/+1 |
| | | | Per feedback in https://github.com/rails/rails/commit/af63e4a2546629c3fb2d53cffb7d4ea0e8663f68#commitcomment-7477636 | ||||
* | Make text consistent in help text of rails server and console commands. | Vijay Dev | 2014-08-21 | 2 | -13/+13 |
| | |||||
* | Add ability to extend `rails server` command options parser | Andrey Chernih | 2014-07-11 | 1 | -7/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | With this change it will be possible to add additional options to the `option_parser` like this: require 'rails/commands/server' module Rails class Server < ::Rack::Server class Options def option_parser_with_open(options) parser = option_parser_without_open options parser.on('-o', '--open', 'Open in default browser') { options[:open] = true } parser end alias_method_chain :option_parser, :open end def start_with_open start_without_open do `open http://localhost:3000` if options[:open] end end alias_method_chain :start, :open end end | ||||
* | Fix rails dbconsole for jdbcmysql adapter. | Gabriel Gilder and Jim Kingdon | 2014-05-05 | 1 | -1/+1 |
| | |||||
* | Isolate debugger related code | David Rodríguez de Dios | 2014-04-10 | 1 | -11/+13 |
| | |||||
* | Keep debugger support only for rubies < 2.0.0 | David Rodríguez de Dios | 2014-04-08 | 2 | -6/+25 |
| | |||||
* | Let COMMAND_WHITELIST be an Array, not a String | Akira Matsuda | 2014-03-16 | 1 | -1/+1 |
| |