i would like to move a site that i made a while back from php to ruby. most of the site was in flash and it just called my php files to generate the dynamic text in the flash movie. i tried the same thing and just had rails generate my text from the database but i noticed that i can''t pull anything like ''/main/flash_info'', i have to use the full url: ''http://www.example.site/main/flash_info''. on top of that, i can only get it to work if the page containing the flash file also has a www. in the url. if i had to guess, i would almost think that having the full url in there forces the files to be processed by ruby where making a local call just spits out the raw file, or maybe none at all since files don''t actually exist at the url given. has anyone had any experience with this? -- Posted via http://www.ruby-forum.com/.
Josh Kieschnick wrote:> i would like to move a site that i made a while back from php to ruby. > most of the site was in flash and it just called my php files to > generate the dynamic text in the flash movie. > > i tried the same thing and just had rails generate my text from the > database but i noticed that i can''t pull anything like > ''/main/flash_info'', i have to use the full url: > ''http://www.example.site/main/flash_info''. on top of that, i can only > get it to work if the page containing the flash file also has a www. in > the url. > > if i had to guess, i would almost think that having the full url in > there forces the files to be processed by ruby where making a local call > just spits out the raw file, or maybe none at all since files don''t > actually exist at the url given. > > has anyone had any experience with this? >I have a small experience with it and wrote an article about rails and flash on my blog. I let you check it out : http://seb.box.re/articles/2006/06/30/flash-and-ruby-on-rails -- S?bastien Grosjean - ZenCocoon