Changeset 3120
- Timestamp:
- 11/21/05 05:33:13 (3 years ago)
- Files:
-
- trunk/railties/CHANGELOG (modified) (1 diff)
- trunk/railties/lib/commands/console.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/railties/CHANGELOG
r3110 r3120 1 1 *SVN* 2 * Make help for the console command more explicit about how to specify the desired environment in which to run the console. #2911. [anonymous] 2 3 3 4 * PostgreSQL: the purge_test_database Rake task shouldn't explicitly specify the template0 template when creating a fresh test database. #2964 [dreamer3@gmail.com] trunk/railties/lib/commands/console.rb
r3083 r3120 4 4 options = { :sandbox => false, :irb => irb } 5 5 OptionParser.new do |opt| 6 opt.banner = "Usage: console [environment] [options]" 6 7 opt.on('-s', '--sandbox', 'Rollback database modifications on exit.') { |options[:sandbox]| } 7 8 opt.on("--irb=[#{irb}]", 'Invoke a different irb.') { |options[:irb]| }