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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. On May 5, 11:34 am, Ra PM <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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? > > Thanks > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 5/5/07, Ra PM <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 Olson http://lighthouseapp.com http://weblog.techno-weenie.net http://mephistoblog.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 <td width="170"><img alt="Woodruff Avenue" height="128" src="/images/http%3A%2F%2Flocalhost%3A3000%2Fimages%2F26" width="170" /></td> The html generated with 1.1.6 (which is working) is: <td width="170"><img alt="Woodruff Avenue" height="128" src="http://localhost:3000/images/26.png" width="170" /></td> Any clues which rails internal function is generating this? Its something that image_tag drills down into. Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 > > <td width="170"><img alt="Woodruff Avenue" height="128" > src="/images/http%3A%2F%2Flocalhost%3A3000%2Fimages%2F26" width="170" > /></td> > > The html generated with 1.1.6 (which is working) is: > <td width="170"><img alt="Woodruff Avenue" height="128" > src="http://localhost:3000/images/26.png" width="170" /></td> > > Any clues which rails internal function is generating this? Its > something that image_tag drills down into. > > Thanks-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---