Permalink
Browse files

Renamed script/envcon to script/console

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent b8f8776 commit cc88e5a61562d7421190c97cda89474bcadad382 @dhh dhh committed Dec 16, 2004
Showing with 7 additions and 7 deletions.
  1. +1 −1 railties/CHANGELOG
  2. +3 −3 railties/Rakefile
  3. +3 −3 railties/bin/{envcon → console}
View
@@ -5,7 +5,7 @@
* Renamed AbstractApplicationController and abstract_application.rb to ApplicationController and application.rb, so that it will be possible
for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb
-* Added script/envcon that makes it even easier to start an IRB session for interacting with the domain model. Run with no-args to
+* Added script/console that makes it even easier to start an IRB session for interacting with the domain model. Run with no-args to
see help.
* Added breakpoint support through the script/breakpointer client. This means that you can break out of execution at any point in
View
@@ -21,7 +21,7 @@ TEST_DIRS = %w( fixtures unit functional mocks mocks/development mocks/testing
LOG_FILES = %w( apache.log development.log test.log production.log )
HTML_FILES = %w( 404.html 500.html index.html )
-BIN_FILES = %w( generate breakpointer envcon server )
+BIN_FILES = %w( generate breakpointer console server )
GENERATORS = %w( controller mailer model scaffold )
VENDOR_LIBS = %w( actionpack activerecord actionmailer railties )
@@ -109,8 +109,8 @@ task :copy_dispatches do
cp "dispatches/dispatch.fcgi", "#{PKG_DESTINATION}/public/dispatch.fcgi"
chmod 0755, "#{PKG_DESTINATION}/public/dispatch.fcgi"
- cp "bin/envcon", "#{PKG_DESTINATION}/script/envcon"
- chmod 0755, "#{PKG_DESTINATION}/script/envcon"
+ cp "bin/console", "#{PKG_DESTINATION}/script/console"
+ chmod 0755, "#{PKG_DESTINATION}/script/console"
end
task :copy_html_files do
@@ -8,10 +8,10 @@ else
puts <<-HELP
NAME
- envcon - interact with the domain model through a environment console (on IRB)
+ console - interact with the domain model through a environment console (on IRB)
SYNOPSIS
- envcon [environment]
+ console [environment]
DESCRIPTION
Starts an environment console using IRB that lets you manipulate and interrogate
@@ -21,7 +21,7 @@ DESCRIPTION
Tab completion is available to see classes and methods on individual objects.
EXAMPLE
- envcon production
+ console production
This will initialize the production environment (as setup in config/database.yml
and config/environments/production.rb). You would now be ready to start requiring

0 comments on commit cc88e5a

Please sign in to comment.