Helpful Information
 
 
Category: Ruby & Ruby On Rails
Rails URLs on Flash buttons

I have a Flash menu that is accessing a page that is dynamically generated by a Rails, a real estate database. Currently I have the buttons set up wth the following absolute URL provided by the back-end developer:

on release {
getURL("http://www.brownandco.com/property/open_houses");
}

However, the menu is not communicating properly and is appending a ".html" to the request, as well as dropping out the /property portion of the address. Is there a different way to access pages with this type of structure generated by Rails??

I tried asking at the Flash forum, with no luck.

you need change the http header generated by a Rails.

class RSSController < ApplicationController
before_filter :set_xml_header

# action to create rss xml file, but have to change
# HTTP header before
def rss
end

def set_xml_header
@headers['Content-Type'] = 'text/xml; character=utf-8'
end
end

Thanks. I'm going to forward this to my Rails person. Since we couldn't figure it out in time, we switched to a javascript-based menu.

This will come in handy in the future.

I have a Flash menu that is accessing a page that is dynamically generated by a Rails, a real estate database. Currently I have the buttons set up wth the following absolute URL provided by the back-end developer:

on release {
getURL("http://www.brownandco.com/property/open_houses");
}

However, the menu is not communicating properly and is appending a ".html" to the request, as well as dropping out the /property portion of the address. Is there a different way to access pages with this type of structure generated by Rails??

I tried asking at the Flash forum, with no luck.

keep in mind also use correct charset in meta http-equiv="Content-Type" field.
good luck

useful info thanks










privacy (GDPR)