 r759@Menhir:  pdcawley | 2005-12-11 16:56:44 +0000  Oops. Migration 35 was reversing the state of allow_comments.     I *think* this is the last change to this migration (at least until we get a  working self.down for it)    If you've been caught out by this, you can do something like:    Content.find(:all).each do |c|    c.update_attribute('allow_comments', !c.allow_comments?)  end    from the console and then use the admin interface to sort out any articles you  added after you ran the broken migration.
 r759@Menhir:  pdcawley | 2005-12-11 16:56:44 +0000
 Oops. Migration 35 was reversing the state of allow_comments. 
 
 I *think* this is the last change to this migration (at least until we get a
 working self.down for it)
 
 If you've been caught out by this, you can do something like:
 
 Content.find(:all).each do |c|
   c.update_attribute('allow_comments', !c.allow_comments?)
 end
 
 from the console and then use the admin interface to sort out any articles you
 added after you ran the broken migration.


git-svn-id: 70ab0960c3db1cbf656efd6df54a8f3de72dc710@796 820eb932-12ee-0310-9ca8-eeb645f39767

swombat/blog,swombat/blog,swombat/blog,swombat/blog,swombat/blog