production-environment
Ruby on Rails production log rotation
What is the best way to enable log rotation on a Ruby on Rails production app? Is it by using logrotate on the hosting server or is there a set of options to use when initializing logger from the 开发[详细]
2023-02-08 11:48 分类:问答Is it possible to create one unique individual file for the production logging for Rails application?
I want my a开发者_运维问答pp to create individual production logging file everyday for my rails application, so that the files size can be manageable? Is there a way to do so?I would use something lik[详细]
2023-02-07 12:29 分类:问答Where to put Assertions?
Having assertions for unexpected conditions is considered to be good defensive coding practice. I happen to place assertions whenever i think something unexpected may happen, but that now seems to be[详细]
2023-02-07 09:58 分类:问答How to deploy a Azure application into production without Azure
I am developing an Azure application using queue开发者_高级运维s, blob storage and SQL Azure.We anticipate that some clients will not be willing to have their data hosted in the cloud (for reasons of[详细]
2023-02-06 06:53 分类:问答Staging enviornment setup
My development team are offshore. Currently they upload all work to a test website however it is exposed to the internet if someone actually knew the test URL. So I want to setup a staging enviornment[详细]
2023-02-02 03:33 分类:问答localhost + staging + production environments?
I have a website say www.livesite.com which is currently running. I have been developing a new version of the website on my local machine with http://localhost and then committing my changes with svn[详细]
2023-02-01 07:18 分类:问答Rails Internationalization (I18n) in model validations: Possible or not?
I have the following validation in a model: validates_inclusion_of :whatever, :in => [true, false], :message => I18n.t(\'please_select_whatever\')[详细]
2023-01-31 05:50 分类:问答Can i remove schema.rb in production
Is this file for informatio开发者_开发问答nal purposes ? Can it be removed in production ?The schema.rb is used when you execute rake db:schema:load. If you are absolutely sure you are not going to e[详细]
2023-01-31 02:22 分类:问答Multiple environments in ASP.Net MVC 2
I a开发者_StackOverflowm learning ASP.Net MVC 2, coming from a PHP and some Rails background, and one of the only things that seems off to me is the way you manage config settings like connection stri[详细]
2023-01-27 07:56 分类:问答Why do grails Quartz jobs die after a few minutes on production?
Using the grails Quartz plugin (latest stable version, 0.4.2), I have four different Jobs that run fine in my development environment, most of them every minute.[详细]
2023-01-26 10:00 分类:问答