Is using script/console in live production environment ok?

I need to make some minor record changes in the database on my live production site. I use Capistrano to deploy. I know I can activate script/console by entering my "/current" Capistrano directory and running:

RAILS_ENV=production script/console

Are there any dangers or pitfalls to be aware of when using script/ console to make record changes to a live site in a production environment?

No, it's fine - just obviously be careful of what you're doing.

Cheers,

Andy

Andy Jeffries wrote:

I need to make some minor record changes in the database on my live production site. I use Capistrano to deploy. I know I can activate script/console by entering my "/current" Capistrano directory and running:

RAILS_ENV=production script/console

Are there any dangers or pitfalls to be aware of when using script/ console to make record changes to a live site in a production environment?

No, it's fine - just obviously be careful of what you're doing.

And of course, if you need to do it more than once in a blue moon, something is obviously wrong.

Cheers,

Andy

Best,

If you are using SQLite make sure you run under same UID as passenger/ fastcgi/mongrel/etc