Re: [Rails-core] call a method once per page request, confirmed problem

2006-01-12 Thread Trevor Squires
On 12-Jan-06, at 2:56 AM, Stefan Kaes wrote: I suggest to place language information on the request object. Add an attr_accessor to class AbstractRequest class ActionController::AbstractRequest attr_accessor :language end My preference has always been to add an "attributes" method to the

Re: [Rails-core] Bus Error on OpenBase Adapter

2006-01-12 Thread Ara.T.Howard
On Wed, 11 Jan 2006, Derrick Spell wrote: Good Evening, The OpenBaseAdapter is almost ready to be submitted as a patch. It passes all the tests except for 9 expected failures. There is a bug in the way OpenBase processes limit/offset clauses. I have a ticket number on this and it should b

[Rails-core] Re: spinner/spawner: is it really necessary to load the Rails environment?

2006-01-12 Thread Andreas Schwarz
Andreas Schwarz schrieb: > attached is a > small patch that moves the spinner functionality into the spawner. I created a ticket for this patch: http://dev.rubyonrails.org/ticket/3461 ___ Rails-core mailing list Rails-core@lists.rubyonrails.org http://l

Re: [Rails-core] call a method once per page request, confirmed problem

2006-01-12 Thread Stefan Kaes
Jean-Christophe Michel wrote: Hi all, My problem is to try to call a method once per page request. (Context: I want to detect the current lang for localization, and this has to be done on each request, so lang passed through uri can have priority over session, browser prefs or default app lang).

[Rails-core] call a method once per page request,confirmed problem

2006-01-12 Thread Jean-Christophe Michel
Hi all, My problem is to try to call a method once per page request. (Context: I want to detect the current lang for localization, and this has to be done on each request, so lang passed through uri can have priority over session, browser prefs or default app lang). The way I followed is to have