# Issues with App upgrade from rails 1.2.3 to rails 2.1.0

**URL:** <https://www.ruby-forum.com/t/issues-with-app-upgrade-from-rails-1-2-3-to-rails-2-1-0/142079>\
**Category:** Deployment\
**Created:** [July 3, 2008, 9:55am UTC](https://www.ruby-forum.com/t/issues-with-app-upgrade-from-rails-1-2-3-to-rails-2-1-0/142079 "2008-07-03T09:55:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sgudibanda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a9adbd/32.png) [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Post date:** [July 3, 2008, 9:55am UTC](https://www.ruby-forum.com/t/issues-with-app-upgrade-from-rails-1-2-3-to-rails-2-1-0/142079/1 "2008-07-03T09:55:35Z")

</div>

Hi,

I am upgrading my rails app from 1.2.3 to 2.1, but facing many issues:

Few things that i noticed are :

1. Exception\_notifier plugin fails :  
ActionView::TemplateFinder::InvalidViewPath (Unprocessed view path  
found: vendor/plugins/exception\_notification/lib/…/views"

2. Flex Image failed - I tried upgrading to newer fleximage, but still  
facing issues in displaying the photos

3. Acts\_as\_rateable : This failed too with : ArgumentError (The  
:dependent option expects either :destroy, :delete\_all, or :nullify  
(true)):

If somebody has upgraded successfully, please throw some light.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![sgudibanda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a9adbd/32.png) [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Post date:** [July 3, 2008, 12:05pm UTC](https://www.ruby-forum.com/t/issues-with-app-upgrade-from-rails-1-2-3-to-rails-2-1-0/142079/2 "2008-07-03T12:05:35Z")

</div>

Fix to have Exception\_notifier plugin run with rails 2.1:

Add the following in environment.rb  
ExceptionNotifier.class\_eval do  
remove\_method :template\_root  
ExceptionNotifier.template\_root =  
“#{RAILS\_ROOT}/vendor/plugins/exception\_notification/lib/…/views”  
end

Fix to have acts\_as\_rateable working with rails 2.1

Edit acts\_as\_rateable.rb :

Make the dependent option as :nullify instead of :true (has\_many  
:ratings, :as =\> :rateable, :dependent =\> :nullify )
