is_paranoid_ext 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/is_paranoid_ext.gemspec +1 -1
- data/lib/is_paranoid_ext.rb +5 -0
- metadata +2 -2
data/is_paranoid_ext.gemspec
CHANGED
data/lib/is_paranoid_ext.rb
CHANGED
@@ -7,6 +7,11 @@ module IsParanoidExt
|
|
7
7
|
has_many association_id, options, &extension
|
8
8
|
end
|
9
9
|
|
10
|
+
def has_and_belongs_to_many_paranoid(association_id, options = {}, &extension)
|
11
|
+
merge_paranoid_options!(association_id, options)
|
12
|
+
has_and_belongs_to_many association_id, options, &extension
|
13
|
+
end
|
14
|
+
|
10
15
|
def has_one_paranoid(association_id, options = {}, &extension)
|
11
16
|
merge_paranoid_options!(association_id, options)
|
12
17
|
has_one association_id, options, &extension
|