From: Phlip Date: 2009-04-30T22:35:05+09:00 Subject: Re: Merb Mike Mickey wrote: > Hi I'm writing a class in /lib, > I would like the class accessing the "request" object > > have you an idea ? Don't. If it accesses that, it's a Controller, no matter where you put it. Now, can you pass what you need into the class in lib? And if the class is modular (even if it has no database hooks), should it be a model? And do you have unit tests on it, so you can refactor it as you learn the best role for it? (But note that questions which are actually about Merb belong on its cheerful, friendly, and mature mailing list...) -- Phlip