Actually env[] works with mongrel also, not just fcgi or passenger.
(No, it's not a typo: env, and not ENV. But I'm sure ENV works too.)


On Sun, Apr 15, 2012 at 12:37 PM, Magnus Holm <judo...@gmail.com> wrote:
>
>
> The only reason ENV['HTTP_REFERER'] works for you is that you deploy
> on (Fast)CGI. You should only depend on @env if you want your app to
> be compatible with other servers.
>
>
_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to