Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |