dcidev_active_record 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81d43d6c23726bfcc5dd25fb8d4cfe17e30ba7f7a11a2c12f7999926e7e7bcae
4
- data.tar.gz: b66a24c0c256baf7eb1912e19d574c133e3b0b009340db9d90d59e95b7615d52
3
+ metadata.gz: 8446ee19d66a28093f5a5944f61d386cce63842d56c7290eaac3e6e7ccc96341
4
+ data.tar.gz: 7e0e82c4d8fe0bb5496680f272412ac620832982e9eee9987f76dd77d4e9a5aa
5
5
  SHA512:
6
- metadata.gz: 971004a905d4f940e0ea2649ec22262410577570ca051d59d2b72f3a11f5df06471ae97e6953d355609dabfc7789819d0ca24a011a9a8b72d71d3417bdc46d65
7
- data.tar.gz: 450e364d5d0cbc5aa5ed671097cf323ef7cda6d5a518a0debfd05a3309e1500bd24ec807745d1b0c04f7b1713d904ab2e26743293d75d9d9185d7b2cfe0e78d3
6
+ metadata.gz: 8faab31f65faafe8aec947c52d8b0574e213aba2914929a5f147d265a6d5f4f16bc5f334ad3dd647566350d8e06e57120af20d345ea4a7289c114b4b8337402c
7
+ data.tar.gz: d764ee8a95bfe93b77cdba33a271739c425c7fc17af3a78946659320a4e54a15f6b350a832041c52ee44142efafcd1869902d5cc27ba42c08c7fe598d639175d
@@ -1,3 +1,5 @@
1
+ require 'active_record'
2
+
1
3
  module NestedAttributeHelper
2
4
  def init_nested_attributes(reflections)
3
5
  reflections.each do |r|
@@ -11,4 +13,7 @@ module NestedAttributeHelper
11
13
  end
12
14
  end
13
15
  end
14
- end
16
+ end
17
+ end
18
+
19
+ ActiveRecord::Base.send(:extend, NestedAttributeHelper)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dcidev_active_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Punto Damar P