view .svn/pristine/ab/ab3e05035acf28c9a52d9ada93919ffa96256afa.svn-base @ 1271:cf4cc816278a live last_rails2_version

Remove inner quotes from realm (workaround for #577)
author Chris Cannam
date Tue, 07 May 2013 12:45:51 +0100
parents cbb26bc654de
children
line wrap: on
line source
class PopulateUsersType < ActiveRecord::Migration
  def self.up
    Principal.update_all("type = 'User'", "type IS NULL")
  end

  def self.down
  end
end