Mercurial > hg > soundsoftware-site
view db/migrate/20090614091200_fix_messages_sticky_null.rb @ 610:e9274ba9c1b3 feature_36
Fixes Bug #272 - the toggle author button calls button_to_remote instead of button_to, which does not have a type="submit" tag. Minor interface changes.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 22 Aug 2011 12:32:02 +0100 |
parents | 513646585e45 |
children | dffacf8a6908 |
line wrap: on
line source
class FixMessagesStickyNull < ActiveRecord::Migration def self.up Message.update_all('sticky = 0', 'sticky IS NULL') end def self.down # nothing to do end end