Changeset 6054
- Timestamp:
- 01/28/07 06:19:07 (2 years ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/lib/action_controller/cgi_process.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r6053 r6054 1 1 *SVN* 2 3 * Change session restoration to allow namespaced models to be autoloaded. Closes #6348. [Nicholas Seckar] 2 4 3 5 * Fix doubly appearing parameters due to string and symbol mixups. Closes #2551. [aeden] trunk/actionpack/lib/action_controller/cgi_process.rb
r5824 r6054 154 154 yield 155 155 rescue ArgumentError => argument_error 156 if argument_error.message =~ %r{undefined class/module ([\w:] +)}156 if argument_error.message =~ %r{undefined class/module ([\w:]*\w)} 157 157 begin 158 Module.const_missing($1) 158 # Note that the regexp does not allow $1 to end with a ':' 159 $1.constantize 159 160 rescue LoadError, NameError => const_error 160 161 raise ActionController::SessionRestoreError, <<-end_msg