openaustralia/publicwhip — pull request #817 by henare (2014-10-18 03:49:07+00:00)
Title: Fix house reload again

Deployment plan:

- [ ] Deploy parser patches
- [ ] Run parser for: 2007-05-09 2007-05-10 2011-08-24

- [ ] Backup *pw_prod*
- [ ] Merge changes
- [ ] Enable maintenance mode
- [ ] Deploy
- [ ] Reload members
- [ ] Reload divisions
- [ ] Check there are only 10 extra lower house divisions and delete them:
```ruby
Division.where(house: 'commons').count == 10
Division.where(house: 'commons').destroy_all
```
- [ ] Delete 2008-03-19 Senate divisions due to missing XML:
```ruby
Division.where(house: 'lords').where(date: '2008-03-19').destroy_all
```
- [ ] Run cache updates
- [ ] Disable maintenance mode
- [ ] Check the site looks OK
- [ ] Revert 67e82d3
- [ ] Deploy
- [ ] Collapse