diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/CHANGELOG | 2 | ||||
-rw-r--r-- | railties/Rakefile | 6 | ||||
-rw-r--r-- | railties/bin/console (renamed from railties/bin/envcon) | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG index e8c4d9acad..f560edaa15 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -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 diff --git a/railties/Rakefile b/railties/Rakefile index dc3f7a9679..1de116b5cd 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -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 diff --git a/railties/bin/envcon b/railties/bin/console index 707d34b985..c64e2a3966 100644 --- a/railties/bin/envcon +++ b/railties/bin/console @@ -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 |