From the lesson Upgrading non-trivial apps to Rails 2.1
Thu, 03 Jul 2008 08:10:47 -0000
Hey,
I am trying to upgrade my rails app from rails1.2.3 to rails 2.1. I am issues with fleximage: Can you please help me out on how exactly you upgraded fleximage. I use to have this in views:
for bigger size:
<%= image_tag (url_for({:controller => ‘images’ , :action => ‘thumb’, :id => @profile.photo}) %> in my app.
For smaller size:
<%= image_tag (url_for({:controller => ‘images’ , :action => ‘feed’, :id => @profile.photo}) %>
Can you help me out in upgrading this?
I also had issues with exception_notifier and acts_as_rateable. Did you use these plugins?
- Actions
-
- 1 Reply
Post Comments
wmoxam said – Thu, 03 Jul 2008 14:19:18 -0000
Have you upgraded those plugins to their newest versions? I use the newest version of exception_notifier, and it works exactly the same as previous versions.
The new Rails 2.1 compatible version of flex_image has an entirely different API. You can read more about it here: http://github.com/Squeegy/fleximage/wikis/gettingstarted