]> git.openstreetmap.org Git - rails.git/blobdiff - lib/migrate.rb
use a controller method to handle cancan denials
[rails.git] / lib / migrate.rb
index b16fa523c20a3de7255b891fb3dff4b0c9e418c9..182a2a08614485ef690590bcb940e21849ce671a 100644 (file)
@@ -1,4 +1,4 @@
-module OSM
+module OpenStreetMap
   module ActiveRecord
     module AbstractAdapter
       def add_index_options(table_name, column_name, options = {})
@@ -41,5 +41,5 @@ module OSM
   end
 end
 
-ActiveRecord::ConnectionAdapters::AbstractAdapter.prepend(OSM::ActiveRecord::AbstractAdapter)
-ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.prepend(OSM::ActiveRecord::PostgreSQLAdapter)
+ActiveRecord::ConnectionAdapters::AbstractAdapter.prepend(OpenStreetMap::ActiveRecord::AbstractAdapter)
+ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.prepend(OpenStreetMap::ActiveRecord::PostgreSQLAdapter)