I've noticed that during deployments, monit will sometimes see that unicorn, sidekiq etc have no pidfiles so will try to start them before the deploy is completed. Does anyone have a solution for this?
I'm thinking of writing a capistrano lockfile when the deploy is started and removing it when finished, then monit can skip its checks for the affected services if the lockfile exists.
Has anyone got a monit template for Sidekiq and/or Redis?
I'm having a bit of a hard time setting the pidfiles up correctly with Unicorn Zero Downtime Deployments. This is where I'm at right now https://gist.github.com/3818705
Thanks Ryan. I've been working on a some simple tagging with the native Postgres string-array type this week, it seems to work very well although I don't have any comparative data on performance yet.
If I'm not mistaken this allows a blank password (and confirmation) to be submitted when resetting the password, because in this case the validates_presence_of :password is only called on creation of a user.
I've noticed that during deployments, monit will sometimes see that unicorn, sidekiq etc have no pidfiles so will try to start them before the deploy is completed. Does anyone have a solution for this?
I'm thinking of writing a capistrano lockfile when the deploy is started and removing it when finished, then monit can skip its checks for the affected services if the lockfile exists.
But if you click a button_to so it opens in a new tab it will load a GET request. Tested in Chrome and Safari.
Has anyone got a monit template for Sidekiq and/or Redis?
I'm having a bit of a hard time setting the pidfiles up correctly with Unicorn Zero Downtime Deployments. This is where I'm at right now https://gist.github.com/3818705
Thanks
Thanks Ryan. I've been working on a some simple tagging with the native Postgres string-array type this week, it seems to work very well although I don't have any comparative data on performance yet.
https://github.com/dockyard/postgres_ext was a huge help for getting started with it.
You might want to look at fuzzy matching
http://stackoverflow.com/questions/7730027/how-to-create-simple-fuzzy-search-with-postgresql-only
http://fuzzytolerance.info/using-fuzzy-search-in-postgresql/
Love this, thanks.
The Textmate snippet for Sublime Text -
If I'm not mistaken this allows a blank password (and confirmation) to be submitted when resetting the password, because in this case the
validates_presence_of :password
is only called on creation of a user.have you tried using
validates_presence_of :password, on: :create
Amazing tip. Thanks!
*cease :)
Which log have you looked at? You probably want to check your unicorn/production logs
Shhh... that's a dev secret :P
+1
Yep, you just need to do things a little differently when initially ssh'ing/setting up your keys
Thanks Ryan, this is superb.
Reassuring to see that it's pretty similar to what I bodged together after watching your Vagrant/Unicorn screencasts https://gist.github.com/1985879
Can't you just use an ordered list
<ol>
?You could also use
$('#person_state_id').parent().toggle(options)
+1 For more deployment screencasts please! I'd be fascinated to see your deployment process.
Sign up here
https://stripe.com/help/global
Maybe it will encourage them to speed things along :)
Thanks for accommodating us non-US users with this cast. Hopefully Stripe will do too soon.
The auto indexing looks nice/simpler than sphinx. It'll be interesting to see how they compare in production. Thanks Ryan!
Completely agree with this, I hope there is a supported way to not have to load a single large file.
Are these new roles going to phase out CanCan?