Changeset 4008
- Timestamp:
- 03/21/06 20:07:41 (2 years ago)
- Files:
-
- trunk/railties/CHANGELOG (modified) (1 diff)
- trunk/railties/lib/commands/console.rb (modified) (1 diff)
- trunk/railties/lib/console_with_helpers.rb (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/railties/CHANGELOG
r3995 r4008 1 1 *SVN* 2 3 * Make all ActionView helpers available in the console for debugging purposes. n.b.: Only an 80% solution. Some stuff won't work, most will. [Marcel Molina Jr.] 4 5 ex. 6 7 >> puts options_for_select([%w(a 1), %w(b 2), %w(c 3)]) 8 <option value="1">a</option> 9 <option value="2">b</option> 10 <option value="3">c</option> 11 => nil 2 12 3 13 * Replaced old session rake tasks with db:sessions:create to generate a migration, and db:sessions:clear to remove sessions. [Rick Olson] trunk/railties/lib/commands/console.rb
r3717 r4008 14 14 libs << " -r console_app" 15 15 libs << " -r console_sandbox" if options[:sandbox] 16 libs << " -r console_with_helpers" 16 17 17 18 ENV['RAILS_ENV'] = ARGV.first || ENV['RAILS_ENV'] || 'development'