Ver código fonte

Make connection an abstract class

Andrew Kane 10 anos atrás
pai
commit
d781169b03
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      app/models/blazer/connection.rb

+ 1 - 0
app/models/blazer/connection.rb

@@ -1,5 +1,6 @@
 module Blazer
   class Connection < ActiveRecord::Base
     establish_connection ENV["BLAZER_DATABASE_URL"] if ENV["BLAZER_DATABASE_URL"]
+    self.abstract_class = true
   end
 end