From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.229.226.196 with SMTP id ix4cs86313qcb; Wed, 28 Dec 2011 10:35:35 -0800 (PST) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncCP_V2_zRBRDzwu33BBoE6b9uhg@googlegroups.com designates 10.224.116.18 as permitted sender) client-ip=10.224.116.18; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCP_V2_zRBRDzwu33BBoE6b9uhg@googlegroups.com designates 10.224.116.18 as permitted sender) smtp.mail=rack-devel+bncCP_V2_zRBRDzwu33BBoE6b9uhg@googlegroups.com; dkim=pass header.i=rack-devel+bncCP_V2_zRBRDzwu33BBoE6b9uhg@googlegroups.com Received: from mr.google.com ([10.224.116.18]) by 10.224.116.18 with SMTP id k18mr6933760qaq.17.1325097333896 (num_hops = 1); Wed, 28 Dec 2011 10:35:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:subject:from:in-reply-to:date :message-id:references:to:x-mailer:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type :content-transfer-encoding; bh=BgOOZMkjf+txTFe+K+BLoZfCjHUjtIe8VprMNiIPFpM=; b=ikPPUK5aeC+cmURO9f3b0fuGOM7BGd5GmW7/l3STn4fiStRnfPWexUfhqcNrRVks2z vByEmIWYXPIEZ7i0JjcIB88Y784n1Le5RLcP8Dwb89iR7mtJ5KGB5mbLwPvh1/NJxB9a 4ft4tx6e1/SLEd3wD5FSNd3dvPbK3egGfvrR8= Received: by 10.224.116.18 with SMTP id k18mr2168183qaq.17.1325097331468; Wed, 28 Dec 2011 10:35:31 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.229.58.198 with SMTP id i6ls27725226qch.2.gmail; Wed, 28 Dec 2011 10:35:30 -0800 (PST) Received: by 10.224.17.193 with SMTP id t1mr31930733qaa.4.1325097330799; Wed, 28 Dec 2011 10:35:30 -0800 (PST) Received: by 10.224.17.193 with SMTP id t1mr31930732qaa.4.1325097330791; Wed, 28 Dec 2011 10:35:30 -0800 (PST) Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by gmr-mx.google.com with ESMTPS id x28si25786827qcs.2.2011.12.28.10.35.30 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Dec 2011 10:35:30 -0800 (PST) Received-SPF: pass (google.com: domain of jftucker@gmail.com designates 209.85.216.44 as permitted sender) client-ip=209.85.216.44; Received: by qadb15 with SMTP id b15so7587334qad.17 for ; Wed, 28 Dec 2011 10:35:30 -0800 (PST) Received: by 10.224.100.71 with SMTP id x7mr39351097qan.33.1325097330659; Wed, 28 Dec 2011 10:35:30 -0800 (PST) Received: from [192.168.102.5] ([199.172.231.12]) by mx.google.com with ESMTPS id i10sm59664523qac.17.2011.12.28.10.35.28 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Dec 2011 10:35:29 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1251.1) Subject: Re: Rack Application Initializes On Every Request From: James Tucker In-Reply-To: Date: Wed, 28 Dec 2011 14:35:27 -0400 Message-Id: <54F669AE-14FD-425A-B6CE-BBC4D893D5ED@gmail.com> References: To: rack-devel@googlegroups.com X-Mailer: Apple Mail (2.1251.1) X-Original-Sender: jftucker@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jftucker@gmail.com designates 209.85.216.44 as permitted sender) smtp.mail=jftucker@gmail.com; dkim=pass (test mode) header.i=@gmail.com Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: X-Google-Group-Id: 486215384060 List-Post: , List-Help: , List-Archive: Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Can you provide some more information? Rack doesn't instantiate anything itself. If you're using Rack::Builder, and you're talking about a middleware, = then it's likely you forgot to call #to_app on the Builder instance = before passing it to the handler. On Dec 28, 2011, at 11:43 AM, Frank Ficnar wrote: > Is it normal that my 'initialize' method is called on every request to > my Rack application (non-Rails)? >=20 > Rack' 1.3.5 didn't do this ... it started with the 1.4.0 update. >=20 > Frank