Restart post-migration

November 16, 2012 Rajan Agaskar

Helps

Exceptional / Airbrake?

Exceptional purchased Airbrake

APIs are different, is there a clear winner?


No clear winner — errbit is an open source solution that uses the airbrake gem.

https://github.com/errbit/errbit

Interestings

Turns out… heroku restart

The only logical explanation we have for the bug with update_attributes failing silently is that we migrated without restarting. We speculate that some dynos had cached the old schema and never got the update (before restarting).

Rspec ‘have_content’

If you use the CSS text-transform: uppercase property on some content that you wish to test with have_content, then:

  • it will actually match on the original case of your text
  • in case of failure, it will display the UPPERCASED expected text, so you’ll get interesting messages such as:

expected there to be content "NOV" in "NOV 8, 2012 — DEC 8, 2012"

About the Author

Biography

More Content by Rajan Agaskar
Previous
Migrating a VMWare Fusion 4.1 instance to ESXi 5
Migrating a VMWare Fusion 4.1 instance to ESXi 5

A VMware Fusion instance originally created as a side project may grow in importance and need to be housed ...

Next
A Day in the Life of a Data Journalist
A Day in the Life of a Data Journalist

The Guardian is one of the most aggressive and forward-thinking news organizations to embrace data journali...

Enter curious. Exit smarter.

Learn More