Skip to content

Commit

Permalink
Make connection an abstract class
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Apr 4, 2015
1 parent 35f2560 commit 3f1570c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/pghero.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module PgHero
# hack for connection
class Connection < ActiveRecord::Base
establish_connection ENV["PGHERO_DATABASE_URL"] if ENV["PGHERO_DATABASE_URL"]
self.abstract_class = true
end

class << self
Expand Down

0 comments on commit 3f1570c

Please sign in to comment.