]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/041_add_fine_o_auth_permissions.rb
Use model relations when creating objects from factories
[rails.git] / db / migrate / 041_add_fine_o_auth_permissions.rb
index dcb77a2b688fef57daf0534827b025be7e87695b..598cb3c047afb9aa3458bef0ba47d997f375c570 100644 (file)
@@ -1,6 +1,6 @@
 class AddFineOAuthPermissions < ActiveRecord::Migration
   PERMISSIONS = [:allow_read_prefs, :allow_write_prefs, :allow_write_diary,
 class AddFineOAuthPermissions < ActiveRecord::Migration
   PERMISSIONS = [:allow_read_prefs, :allow_write_prefs, :allow_write_diary,
-                 :allow_write_api, :allow_read_gpx, :allow_write_gpx]
+                 :allow_write_api, :allow_read_gpx, :allow_write_gpx].freeze
 
   def self.up
     PERMISSIONS.each do |perm|
 
   def self.up
     PERMISSIONS.each do |perm|