Awesome, thanks for the tip!

On Tue, Feb 12, 2013 at 3:01 PM, Nate Abele <notifications@github.com>wrote:

> In extensions/data/source/Couchbase.php:
>
> >  		);
> > -		$this->prefix = (Environment::get() == 'production') ? '' : 'dev_';
> > +		if (Environment::get() == 'production') {
>
> It breaks separation for adapters to reference the environment directly.
> The way to do this would be to either have an 'environment' flag that
> you'd configure in connections.php, or just expose the flags you're using
> directly so that people can explicitly manage their configurations across
> different environments.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/UnionOfRAD/li3_couchbase/pull/14/files#r2984351>.
>
>