Story#108602614 - Import contact history

This commit is contained in:
Vladimir Krylov 2015-12-09 17:26:00 +02:00
parent 91da4db2ce
commit af055aaac5
6 changed files with 242 additions and 65 deletions

View file

@ -219,6 +219,10 @@ class Contact < ActiveRecord::Base
kit.to_pdf
end
def next_id
self.connection.select_value("SELECT nextval('#{self.sequence_name}')")
end
end
def roid