Sha256: 9970a4c2d969cafb35c911d7659569ab29fb3dedecc326e929f28c79b65c0eb8
Contents?: true
Size: 438 Bytes
Versions: 34
Compression:
Stored size: 438 Bytes
Contents
class AddProjectsFeedsPermissions < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end def self.up Permission.create :controller => "projects", :action => "feeds", :description => "label_feed_plural", :sort => 132, :is_public => true, :mail_option => 0, :mail_enabled => 0 end def self.down Permission.where(:controller => "projects", :action => "feeds").each {|p| p.destroy} end end
Version data entries
34 entries across 34 versions & 1 rubygems