Hi Bharat,
bruparel wrote:
> How do I open the Rails Console in test environment from Netbeans?
>
> Outside Netbeans, on the command prompt, I type:
>
> ruby script/console test
>
> Seems like this is not possible with NetBeans 6.1?
>
ENV['RAILS_ENV'] = 'test' in the script/console file should help, though
obviously it is a bit cumbersome. In 6.5 the console is invoked using
the environment specified in the project properties.
Erno
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...