Mercurial > hg > soundsoftware-site
diff db/migrate/030_add_projects_feeds_permissions.rb @ 1526:404aa68d4227
Merge from live branch
author | Chris Cannam |
---|---|
date | Thu, 11 Sep 2014 12:46:20 +0100 |
parents | dffacf8a6908 |
children |
line wrap: on
line diff
--- a/db/migrate/030_add_projects_feeds_permissions.rb Mon Mar 17 08:57:04 2014 +0000 +++ b/db/migrate/030_add_projects_feeds_permissions.rb Thu Sep 11 12:46:20 2014 +0100 @@ -7,6 +7,6 @@ end def self.down - Permission.find_by_controller_and_action('projects', 'feeds').destroy + Permission.where(:controller => "projects", :action => "feeds").each {|p| p.destroy} end end