app/models/unidom/visitor/identificating.rb in unidom-visitor-0.3 vs app/models/unidom/visitor/identificating.rb in unidom-visitor-0.4

- old
+ new

@@ -14,10 +14,10 @@ def self.find_identity(visitor) visitor_is(visitor).first.try :identity end - def self.identificate(visitor, identity) - self.visitor_is(visitor).identity_is(identity).valid_at.alive.first_or_create opened_at: Time.now + def self.identificate(visitor, identity, opened_at: Time.now) + self.visitor_is(visitor).identity_is(identity).valid_at.alive.first_or_create opened_at: opened_at end end