has_moderated 0.0.19 → 0.0.20

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.
@@ -35,6 +35,7 @@ module HasModerated
35
35
 
36
36
  # all instances for this association type
37
37
  assoc_records.each do |attrs|
38
+ next if attrs.blank?
38
39
  # PARAM = ID
39
40
  if attrs.class == Fixnum
40
41
  arec = m.find_by_id(attrs)
@@ -1,3 +1,3 @@
1
1
  module HasModerated
2
- VERSION = "0.0.19"
2
+ VERSION = "0.0.20"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_moderated
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 19
10
- version: 0.0.19
9
+ - 20
10
+ version: 0.0.20
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jan Berdajs