diff options
author | Jamis Buck <jamis@37signals.com> | 2006-03-01 15:52:40 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2006-03-01 15:52:40 +0000 |
commit | 7056fc6782cba6dacccbba86cb231b58d8f5b4c8 (patch) | |
tree | e95709dd97d30d8775bd237a8cd302c196e020ab /railties/lib/commands | |
parent | 491554f6dd8b7f63005b5c7c89c01e6b35f69597 (diff) | |
download | rails-7056fc6782cba6dacccbba86cb231b58d8f5b4c8.tar.gz rails-7056fc6782cba6dacccbba86cb231b58d8f5b4c8.tar.bz2 rails-7056fc6782cba6dacccbba86cb231b58d8f5b4c8.zip |
Add 'app' accessor to script/console as an instance of Integration::Session
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/commands')
-rw-r--r-- | railties/lib/commands/console.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/commands/console.rb b/railties/lib/commands/console.rb index 696272eba6..3ea1107445 100644 --- a/railties/lib/commands/console.rb +++ b/railties/lib/commands/console.rb @@ -11,6 +11,7 @@ end libs = " -r irb/completion" libs << " -r #{RAILS_ROOT}/config/environment" +libs << " -r console_app" libs << " -r console_sandbox" if options[:sandbox] ENV['RAILS_ENV'] = ARGV.first || ENV['RAILS_ENV'] || 'development' |