Changeset 5319
- Timestamp:
- 10/17/06 23:11:47 (2 years ago)
- Files:
-
- trunk/railties/CHANGELOG (modified) (1 diff)
- trunk/railties/lib/initializer.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/railties/CHANGELOG
r5317 r5319 1 1 *SVN* 2 3 * Set $KCODE to 'u' by default to enable the multibyte safe String#chars proxy. [Koz] 2 4 3 5 * Added config.plugins to control which plugins are loaded #6269 [skaes]. By default, everything in vendor/plugins will be loaded, but if you specify config.plugins, only those will be loaded. Example: trunk/railties/lib/initializer.rb
r5317 r5319 84 84 load_environment 85 85 86 initialize_encoding 86 87 initialize_database 87 88 initialize_logger … … 196 197 def load_observers 197 198 ActiveRecord::Base.instantiate_observers 199 end 200 201 # This initialzation sets $KCODE to 'u' to enable the multibyte safe operations. 202 # Plugin authors supporting other encodings should override this behaviour and 203 # set the relevant +default_charset+ on ActionController::Base 204 def initialize_encoding 205 $KCODE='u' 198 206 end 199 207