Integer value changed to string

This commit is contained in:
Stas 2015-10-21 17:54:44 +03:00
parent e489bd60e1
commit a3c9131e93
2 changed files with 6 additions and 5 deletions

View file

@ -1,6 +1,7 @@
module Legacy
class Object < Db
self.table_name = :object
belongs_to :registrar, foreign_key: :upid, primary_key: :legacy_id, class_name: '::Registrar'
def self.instance_method_already_implemented?(method_name)
return true if method_name == 'update'