From: James Tucker <jftucker@gmail.com>
To: rack-devel@googlegroups.com
Subject: Re: How to use a rack middleware in rails application?
Date: Wed, 18 Apr 2012 15:09:45 -0700 [thread overview]
Message-ID: <3CB9A0D2-28B8-4E52-ACB3-9FA22656F724@gmail.com> (raw)
In-Reply-To: <19957665.775.1334754612976.JavaMail.geo-discussion-forums@pbcuc9>
[-- Attachment #1: Type: text/plain, Size: 598 bytes --]
On Apr 18, 2012, at 6:10 AM, shinn wrote:
> Hi all,
>
> I'm currently developing a rails app that required to do cross side scripting with ajax. I've been google around and found this rack middleware that used rack on doing proxy. However I have no idea on how to use it in my app. Please help, I'm using Rails 3.2.3. Thanks!
http://guides.rubyonrails.org/rails_on_rack.html
It sounds like you probably want CORS though, not a proxy.
http://blog.davelyon.net/cross-origin-resource-sharing-on-rails
http://www.tsheffler.com/blog/?p=428
http://www.google.com/search?q=CORS+on+rails
[-- Attachment #2: Type: text/html, Size: 1200 bytes --]
next prev parent reply other threads:[~2012-04-18 22:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-18 13:10 How to use a rack middleware in rails application? shinn
2012-04-18 22:09 ` James Tucker [this message]
2012-04-19 4:11 ` shinn
2012-04-20 19:58 ` James Tucker
2012-04-21 3:16 ` shinn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://groups.google.com/group/rack-devel
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CB9A0D2-28B8-4E52-ACB3-9FA22656F724@gmail.com \
--to=rack-devel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).