Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Remove debugger support | Rafael Mendonça França | 2015-01-04 | 1 | -26/+0 |
| | | | | | bebugger doesn't work with Ruby 2.2 so we don't need to support it anymore | ||||
* | fix grammar [ci skip] | Vijay Dev | 2014-08-22 | 1 | -1/+1 |
| | |||||
* | Make text consistent in help text of rails server and console commands. | Vijay Dev | 2014-08-21 | 1 | -4/+4 |
| | |||||
* | 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 | 1 | -4/+14 |
| | |||||
* | exit with non-zero to signal failure | Hrvoje Šimić | 2013-05-13 | 1 | -2/+2 |
| | |||||
* | Fix rails console --sandbox | Jon Leighton | 2013-03-08 | 1 | -1/+3 |
| | | | | | | I've also added a proper acceptance test which reproduced the issue. Closes #9513, #9515. | ||||
* | Rescue from LoadError when trying to load the debugger gem for console | Carlos Antonio da Silva | 2013-01-06 | 1 | -1/+1 |
| | | | | | | | | Avoid swallowing all exceptions that might happen when requiring debugger, just catch a LoadError if it cannot be loaded. Check for more background: https://github.com/rails/rails/commit/28fd867c9bc790636d37a28f288791cd0089a6fd#commitcomment-2386952 | ||||
* | Don't use Rails.root since it is not available at this point | Rafael Mendonça França | 2013-01-05 | 1 | -1/+1 |
| | |||||
* | Remove unnecessary begin..rescue..end, use only rescue | Carlos Antonio da Silva | 2013-01-04 | 1 | -7/+5 |
| | |||||
* | Move class method to instance in dbconsole | Carlos Antonio da Silva | 2013-01-04 | 1 | -0/+1 |
| | | | | | This method doesn't need to be in the class, since it's only used only from the instance. | ||||
* | This commit fixes issue #8628 | Mykola Kyryk | 2013-01-04 | 1 | -1/+10 |
| | | | | | | | | | | | | 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. | ||||
* | Add ENV['RACK_ENV'] support to rake runner/console/server. | kennyj | 2012-12-06 | 1 | -1/+1 |
| | |||||
* | Fix various bugs with console arguments. | Sam Oliver | 2012-05-30 | 1 | -23/+25 |
| | | | | Allow hyphens in environment names again. | ||||
* | Fix `rails db -h` and cosmetic fixes in usage banners | Alexey Vakhov | 2012-05-22 | 1 | -1/+1 |
| | | | | | | | Ruby tries to use '-h' as short version of '--header' by default https://github.com/ruby/ruby/blob/trunk/lib/optparse.rb#L1372-1381. To force `rails db -h` prints an usage message we should add the `-h` options explicitly. | ||||
* | and one more time | Aditya Sanghi | 2012-04-24 | 1 | -2/+2 |
| | |||||
* | another attempt at the language | Aditya Sanghi | 2012-04-18 | 1 | -1/+1 |
| | |||||
* | stamp out ruby-debug19 with extreme prejudice :) | Aditya Sanghi | 2012-04-17 | 1 | -3/+3 |
| | |||||
* | match rails console environment support, to server | schneems | 2012-03-22 | 1 | -0/+13 |
| | | | | 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`. | ||||
* | Refactor Rails::Console to make it easier to test and add tests for it | Piotr Sarnacki | 2012-02-16 | 1 | -25/+46 |
| | |||||
* | Allow to set custom console type with Rails.application.config.console= | Piotr Sarnacki | 2012-02-16 | 1 | -2/+3 |
| | | | | | | | | | | | | | This patch adds ability to set custom console if you want to use something other than IRB. Previously the hack that people used was: silence_warnings do require 'pry' IRB = Pry end which is not the best way to customize things. | ||||
* | Remove console --irb deprecation notice | Piotr Sarnacki | 2012-02-16 | 1 | -1/+0 |
| | |||||
* | gem ruby-debug19 for console error if ruby-debug19 not found | Vishnu Atrai | 2011-12-25 | 1 | -1/+1 |
| | |||||
* | Extend IRB right before starting IRB to remove dependency on IRB from ↵ | Akira Matsuda | 2011-11-10 | 1 | -0/+2 |
| | | | | Rails::Application | ||||
* | Everyone receives app as argument for consistency. | José Valim | 2011-05-25 | 1 | -1/+2 |
| | |||||
* | Remove defined?(ActiveRecord) and use the railtie hook instead. | José Valim | 2011-05-04 | 1 | -4/+0 |
| | |||||
* | Fix console to accept [environment] [options] as specified in docs. | Emilio Tagua | 2011-04-14 | 1 | -1/+1 |
| | |||||
* | Moved Turn activation/dependency to railties | David Heinemeier Hansson | 2011-03-31 | 1 | -1/+1 |
| | |||||
* | Direct logging of Active Record to STDOUT so it's shown inline with the ↵ | David Heinemeier Hansson | 2011-03-31 | 1 | -0/+4 |
| | | | | results in the console [DHH] | ||||
* | "rails console t" must not load "production" but "test" | Akira Matsuda | 2010-09-02 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add console hook to force ActiveRecord::Base to be loaded when console ↵ | José Valim | 2010-07-18 | 1 | -4/+1 |
| | | | | starts avoiding reference loops. | ||||
* | Add missing -h/--help flag to several rails command [#3909 status:resolved] | Prem Sichanugrist | 2010-02-10 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | fix usage examples and more to use new invocations | RomD | 2010-02-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
* | Move console stuff to its own directory. | José Valim | 2010-01-23 | 1 | -4/+4 |
| | |||||
* | Get everyone running on Rails.env and fix the broken environment settings ↵ | David Heinemeier Hansson | 2010-01-11 | 1 | -6/+5 |
| | | | | for script/console and script/dbconsole | ||||
* | Have to remove the environment name from ARGV or IRB will freak out | David Heinemeier Hansson | 2010-01-09 | 1 | -1/+1 |
| | |||||
* | Have script/* and Rakefile use the application object | Carlhuda | 2009-11-24 | 1 | -3/+7 |
| | |||||
* | Use Rails.env after loading environment | Jeremy Kemper | 2009-11-24 | 1 | -2/+2 |
| | |||||
* | Add a dead --irb option mentioning upgrade path | Jeremy Kemper | 2009-11-23 | 1 | -0/+1 |
| | |||||
* | Set RAILS_ENV before loading config/environment | Jeremy Kemper | 2009-11-23 | 1 | -10/+7 |
| | |||||
* | Refactor script/console into an object and use IRB.start instead of calling ↵ | Carlhuda | 2009-11-23 | 1 | -39/+48 |
| | | | | exec. | ||||
* | Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵ | Carl Lerche | 2009-10-16 | 1 | -1/+1 |
| | | | | application's object root) | ||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -0/+45 |