view .svn/pristine/1c/1c96e8748cd2bab0b547b070c39e7264886284c8.svn-base @ 1155:a34a06ba1e33 redmine-2.2-integration

Provide a JS callback which should (?) be rendered by toggle_active ajax call
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 15 Jan 2013 15:48:21 +0000
parents cbb26bc654de
children
line wrap: on
line source
class AddActiveFieldToEnumerations < ActiveRecord::Migration
  def self.up
    add_column :enumerations, :active, :boolean, :default => true, :null => false
  end

  def self.down
    remove_column :enumerations, :active
  end
end