is_contacted 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/is_contacted.rb +1 -1
  2. metadata +2 -2
data/lib/is_contacted.rb CHANGED
@@ -38,7 +38,7 @@ module IsContacted
38
38
  end
39
39
  end
40
40
  if contact_id.blank? && self.respond_to?(:user_id)
41
- user = User.find_by_user_id(self.user_id)
41
+ user = User.find_by_id(self.user_id)
42
42
  contact = Contact.find_by_value(user.login) if user
43
43
  self.contact_id = contact.id if contact
44
44
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Dieinzige