backframe 0.0.33 → 0.0.34

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
  SHA1:
3
- metadata.gz: ddd42ad68a92951af7d447fe203cf35caefba49e
4
- data.tar.gz: d6d17949e7f8cd763de6b45c95213d5eb5162c02
3
+ metadata.gz: dd30a69f4ad3280be12ca8390ccb69ff46b2df45
4
+ data.tar.gz: 54bbc817050e0b6e80e45116b16fd7404767df8c
5
5
  SHA512:
6
- metadata.gz: dde2bb19707f03d683fd87514d75cf0db6642ab86c3ba045ed0ee82e29f2e14facba701a28216001c315e523376e773994b9d4ea418193bbe26239b7abf59bd5
7
- data.tar.gz: 060048ae6277590bf40793edbafea2af25565bc2804851d1397ffd97a46a7f4c3c7d2b92b35c80ad3632913a83d333453c14c9319bf964e896d1d3394b6cb8b2
6
+ metadata.gz: ad9a0e0374ea0bdeffd0c2379a3e4da5a12f1635bc3c6a87d3eb2032e037b4e8646eef1bf6b20806d6829ed8a46a4807c7056dfc78686f8ea114f3657b6fa3ec
7
+ data.tar.gz: 01476f8f0be8a5d18e21539df7b32ee0bc2e4b20d2e94de8ee6e7b37a7fb163db7871442cfa36d5c9587ca6b0eef3db2f677d15956dc757a0de805918ae2da98
@@ -34,7 +34,9 @@ module Backframe
34
34
  end
35
35
 
36
36
  def toggle_#{field}_distinction
37
- self.#{arguments[:parent]}.#{arguments[:association]}.where('id != ?', self.id).update_all(:#{field} => false)
37
+ self.#{arguments[:parent]}.#{arguments[:association]}.where('id != ?', self.id).each do |item|
38
+ item.update_attributes(:#{field} => false)
39
+ end
38
40
  end
39
41
 
40
42
  EOV
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Backframe
4
- VERSION = '0.0.33'
4
+ VERSION = '0.0.34'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backframe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33
4
+ version: 0.0.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Kops
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-22 00:00:00.000000000 Z
12
+ date: 2016-05-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: write_xlsx