on_destroy 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ module OnDestroy
30
30
  # that is just a guess, based on the mark with deleted_at date example.
31
31
  self.is_deleted_if = Proc.new {|v| v != nil}
32
32
  else
33
- self.is_deleted_if = Proc.new {|v| v == send(options[:to])}
33
+ self.is_deleted_if = Proc.new {|v| v == options[:to]}
34
34
  end
35
35
  end
36
36
  end
@@ -1,3 +1,3 @@
1
1
  module OnDestroy
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: on_destroy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: