is_paranoid_ext 0.0.2 → 0.0.3
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.
- 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
|