Registrars import

This commit is contained in:
Martin Lensment 2015-02-26 18:04:24 +02:00 committed by Priit Tark
parent 6b0e155bc1
commit 7cb0a4bdd3
8 changed files with 105 additions and 38 deletions

10
app/models/legacy/db.rb Normal file
View file

@ -0,0 +1,10 @@
module Legacy
class Db < ActiveRecord::Base
self.abstract_class = true
establish_connection :fred
def readonly?
true
end
end
end

View file

@ -0,0 +1,5 @@
module Legacy
class Registrar < Db
self.table_name = :registrar
end
end