Bellow are some issues that I met when upgraded from rails 1.1.6 to 1.2.x:
1.About enrivonment.rb
Make sure your application configuration behind:
Rails::Initializer.run do |config|
...
end
I met this issue when I put following code:
require 'environments/localization_environment'
require 'localization'
Localization::load_localized_strings
require 'environments/user_environment'
before that closure, which works under 1.1.6, but don't under 1.2.x
2.About ActionMailer::Base.server_settings
If you get errors like:
uninitialized constant ActiveSupport::Deprecation::RAILS_DEFAULT_LOGGER (NameError)
try to change your ActionMailer::Base.server_settings to ActionMailer::Base.smtp_settings
3.Put all "include" statements inside class definitions
You must put include statements inside class/module definitions instead of outside a class/module definition in Rails 1.2.x. Otherwise, you'll get:
Error calling Dispatcher.dispatch #<NameError: cannot remove Object::COPYRIGHT>
分享到:
相关推荐
新版Best HTTP Upgrading DOTween from versions older than 1.2.000 Upgrading DOTween from versions older than 1.2.000
selected into a WinGDC on Win3x - use CreateBitmap(8,8,1,8,0) DrawIcon will crash WinGBitBlt and WinGStretchBlt will not always blt to the correct location when you have changed the Viewport and/...
Upgrading it to Vert.x 3.5 requires a lot of work, I am looking at it, but since it's a "weekend" project, it might take months. Sorry for the inconvenience. Obviously any kind of help would be ...
DA26 - Upgrading to Data Abstract... DA28 - Easy Steps to Creating a Data... DA29 - How to Configure Additional... DA30 ?Enhancements to Data Retrieval... DA31 - Simplifying Permissions DA32 - Master ...
PEP 380: Syntax for Delegating to a Subgenerator PEP 409: Suppressing exception context PEP 414: Explicit Unicode literals PEP 3155: Qualified name for classes and functions PEP 412: Key-Sharing ...
1.2. Typographical and Syntax Conventions 1.3. Overview of the MySQL Database Management System 1.3.1. What is MySQL? 1.3.2. History of MySQL 1.3.3. The Main Features of MySQL 1.4. MySQL Development ...
Mac Os X Panther Timesaving Techniques For Dummies.pdf Mac Os X Tiger Timesaving Techniques For Dummies.pdf Macbook For Dummies.pdf ** Macromedia Flash 8 For Dummies.pdf ** Macromedia Studio 8 AIO ...
Oracle数据库是全球广泛使用的数据库管理系统之一,特别是在企业级应用中。11.2版本是Oracle数据库的一个重要里程碑,提供了许多增强的功能和优化。本篇文章将详细介绍Oracle数据库从11.2之前的版本升级到11.2的不同...
A couple of important points to note while upgrading to hadoop-2.2.0: HDFS - The HDFS community decided to push the symlinks feature out to a future 2.3.0 release and is currently disabled. YARN/...
1.2 History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Getting involved . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
Upgrading to Office SharePoint Server 2007.
1.2. Differences from a production OpenShift installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Installation. . . . . . . . . . . . . . . . . . . . . . . . . . ....
官方资料:[英文]白皮书:Upgrading to Oracle Database 12c (12.1.0.2)升级到ORACLE12c (12.1.0.2) Comparing Upgrade and Migration;Database Upgrade;Database Migration.;Multitenant Architecture;...
The book is also useful to administrators responsible for installation and upgrade, backup and recovery, and the ongoing monitoring of the APEX engine and the applications built upon it. Table of ...
hyperion system 安装 ... Upgrading Hyperion Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Chapter 3. System Requirements . . . .
1. Licenses for Third-Party Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....