# Porting 1.1.6 to 1.2.3

**URL:** <https://www.ruby-forum.com/t/porting-1-1-6-to-1-2-3/103422>\
**Category:** Rails\
**Created:** [May 5, 2007, 7:34pm UTC](https://www.ruby-forum.com/t/porting-1-1-6-to-1-2-3/103422 "2007-05-05T19:34:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpm13](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/3d9bf3/32.png) [@rpm13](https://www.ruby-forum.com/u/rpm13)\
**Post date:** [May 5, 2007, 7:34pm UTC](https://www.ruby-forum.com/t/porting-1-1-6-to-1-2-3/103422/1 "2007-05-05T19:34:17Z")

</div>

In porting an application from rails 1.1.6 to 1.2.3, I discovered that  
the image directory has become the images directory. But also some  
other aspects of the map.image had to be changed.

Is there one central place where all these changes are listed so that I  
could systematically port all aspects that are required?

Thanks

---

<div class="post-metadata">

**Author:** ![rpm13](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/3d9bf3/32.png) [@rpm13](https://www.ruby-forum.com/u/rpm13)\
**Post date:** [May 5, 2007, 8:04pm UTC](https://www.ruby-forum.com/t/porting-1-1-6-to-1-2-3/103422/2 "2007-05-05T20:04:14Z")

</div>

The directory was always images. As for other changes I don’t know of  
any listing of all the changes (you could of course browse through the  
changelogs). I’ve ported a number of apps over from 1.1.x to 1.2.x  
and not run into any significant changes. There were a few things  
marked deprecated that I ran into like start\_form\_tag/end\_form\_tag,  
but those were easy to clean up and didn’t break anything.

1.2.2 had an issue with functional tests needing strings instead of  
symbols for the session hash, but 1.2.3 fixed that.

---

<div class="post-metadata">

**Author:** ![rpm13](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/3d9bf3/32.png) [@rpm13](https://www.ruby-forum.com/u/rpm13)\
**Post date:** [May 6, 2007, 1:49am UTC](https://www.ruby-forum.com/t/porting-1-1-6-to-1-2-3/103422/3 "2007-05-06T01:49:45Z")

</div>

On 5/5/07, Ra PM [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> In porting an application from rails 1.1.6 to 1.2.3, I discovered that  
> the image directory has become the images directory. But also some  
> other aspects of the map.image had to be changed.
> 
> Is there one central place where all these changes are listed so that I  
> could systematically port all aspects that are required?

Each Rails lib (ActiveRecord, ActionPack, etc) has a CHANGELOG file for  
this.

–  
Rick O.  
[http://lighthouseapp.com](http://lighthouseapp.com)  
[http://weblog.techno-weenie.net](http://weblog.techno-weenie.net)  
[http://mephistoblog.com](http://mephistoblog.com)

---

<div class="post-metadata">

**Author:** ![rpm13](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/3d9bf3/32.png) [@rpm13](https://www.ruby-forum.com/u/rpm13)\
**Post date:** [May 6, 2007, 8:26am UTC](https://www.ruby-forum.com/t/porting-1-1-6-to-1-2-3/103422/4 "2007-05-06T08:26:58Z")

</div>

It would be helpful to see not just what’s being generated but also the  
rhtml and any other useful bits you can contribute. It seems url\_encode  
is being called on the string passed as the ‘src’ attribute. By the way  
h() is a shortcut for url\_encode, so if you are used to writing \<%=h  
@image\_src %\> that’s your problem.

Ra PM wrote:

> Well Ive made a little progress. I found that the rails version could be  
> set in config.rb. And so by switching between 1.1.6 and 1.2.3 I can  
> work out whats changing where. Laborious but reading changelogs is  
> worse 🙂
> 
> The html generated with 1.2.3 (which is not working) is
> 
> ![Woodruff Avenue](https://www.ruby-forum.com/images/http%3A%2F%2Flocalhost%3A3000%2Fimages%2F26)
> 
> The html generated with 1.1.6 (which is working) is:
> 
> ![Woodruff Avenue](http://localhost:3000/images/26.png)
> 
> Any clues which rails internal function is generating this? Its  
> something that image\_tag drills down into.
> 
> Thanks

---

<div class="post-metadata">

**Author:** ![rpm13](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/3d9bf3/32.png) [@rpm13](https://www.ruby-forum.com/u/rpm13)\
**Post date:** [May 6, 2007, 7:07am UTC](https://www.ruby-forum.com/t/porting-1-1-6-to-1-2-3/103422/5 "2007-05-06T07:07:11Z")

</div>

Well Ive made a little progress. I found that the rails version could be  
set in config.rb. And so by switching between 1.1.6 and 1.2.3 I can  
work out whats changing where. Laborious but reading changelogs is  
worse 🙂

The html generated with 1.2.3 (which is not working) is

 ![Woodruff Avenue](https://www.ruby-forum.com/images/http%3A%2F%2Flocalhost%3A3000%2Fimages%2F26)

The html generated with 1.1.6 (which is working) is:

 ![Woodruff Avenue](http://localhost:3000/images/26.png)

Any clues which rails internal function is generating this? Its  
something that image\_tag drills down into.

Thanks
