diff options
Diffstat (limited to 'db/migrate/024_add_roadmap_permission.rb')
-rw-r--r-- | db/migrate/024_add_roadmap_permission.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/024_add_roadmap_permission.rb b/db/migrate/024_add_roadmap_permission.rb index 5c37beac1..f521e6025 100644 --- a/db/migrate/024_add_roadmap_permission.rb +++ b/db/migrate/024_add_roadmap_permission.rb @@ -7,6 +7,6 @@ class AddRoadmapPermission < ActiveRecord::Migration end def self.down - Permission.find(:first, :conditions => ["controller=? and action=?", 'projects', 'roadmap']).destroy + Permission.where("controller=? and action=?", 'projects', 'roadmap').first.destroy end end |