Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Merge pull request #19404 from dmathieu/remove_rack_env" | Jeremy Kemper | 2015-03-20 | 1 | -0/+7 |
| | | | | | | | Preserving RACK_ENV behavior. This reverts commit 7bdc7635b885e473f6a577264fd8efad1c02174f, reversing changes made to 45786be516e13d55a1fca9a4abaddd5781209103. | ||||
* | don't fallback to RACK_ENV when RAILS_ENV is not present | Damien Mathieu | 2015-03-19 | 1 | -7/+0 |
| | |||||
* | Remove debugger support | Rafael Mendonça França | 2015-01-04 | 1 | -22/+0 |
| | | | | | bebugger doesn't work with Ruby 2.2 so we don't need to support it anymore | ||||
* | Remove mocha usage | Rafael Mendonça França | 2014-07-23 | 1 | -2/+5 |
| | |||||
* | Stop using mocha on console_test | Rafael Mendonça França | 2014-07-07 | 1 | -15/+40 |
| | |||||
* | Isolate debugger related code | David Rodríguez de Dios | 2014-04-10 | 1 | -13/+19 |
| | |||||
* | Keep debugger support only for rubies < 2.0.0 | David Rodríguez de Dios | 2014-04-08 | 1 | -3/+3 |
| | |||||
* | fix private attribute warning | Vipul A M | 2013-04-04 | 1 | -2/+3 |
| | |||||
* | Fix failing test regarding console change to fix sandboxing | Carlos Antonio da Silva | 2013-03-08 | 1 | -11/+10 |
| | | | | Introduced in be3e10cd26bc8ec29c6474d03a08a8e733108e7d. | ||||
* | This commit fixes issue #8628 | Mykola Kyryk | 2013-01-04 | 1 | -0/+6 |
| | | | | | | | | | | | | Allow environment name to start with a substring of the default environment names. For example: tes, pro, prod, dev, devel, etc. Fixing identation. Adding test for Rails::Console.parse_arguments method. Fix issue 8628 for Rails::DBConsole. | ||||
* | Refactor tests that switch RAILS_ENV and RACK_ENV | Carlos Antonio da Silva | 2012-12-06 | 1 | -20/+4 |
| | | | | | | | | | | | | This cleanup aims to fix a build failure: https://travis-ci.org/rails/rails/jobs/3515951/#L482 Since travis always have both ENV vars set to "test", a test is failing where it's expected to output the default env "development", but "test" is the result due to RACK_ENV being set when we expect it to not be. By cleaning this duplication we ensure that changing any of these env variables will pick the right expected value. | ||||
* | Add ENV['RACK_ENV'] support to rake runner/console/server. | kennyj | 2012-12-06 | 1 | -2/+17 |
| | |||||
* | Removing warning : assigned but unused variable | Arun Agrawal | 2012-11-10 | 1 | -1/+1 |
| | |||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -4/+4 |
| | |||||
* | warning fixed: ambiguous first argument; put parentheses or even spaces | Arun Agrawal | 2012-10-10 | 1 | -7/+7 |
| | |||||
* | Fix various bugs with console arguments. | Sam Oliver | 2012-05-30 | 1 | -29/+60 |
| | | | | Allow hyphens in environment names again. | ||||
* | More assert_match warnings fixed. | Arun Agrawal | 2012-05-30 | 1 | -4/+4 |
| | |||||
* | match rails console environment support, to server | schneems | 2012-03-22 | 1 | -0/+19 |
| | | | | rails server takes `-e` as an argument to specify RAILS_ENV, rails console currently does not have the same interface. This commit fixes this disparity so developers can manually specify `RAILS_ENV` or can pass in an environment with a `-e`. | ||||
* | Fix tests, Rails.env may be different on CI | Piotr Sarnacki | 2012-02-16 | 1 | -2/+5 |
| | |||||
* | Refactor Rails::Console to make it easier to test and add tests for it | Piotr Sarnacki | 2012-02-16 | 1 | -0/+84 |