inline_forms 6.2.12 → 6.2.14

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: d8a89042abb26539164c6891815245f2cfac433a76186a5058e84058024b94e1
4
- data.tar.gz: b72ec5380056b35c7c89b265744a7315fa6fc2fc60e9534463b72791ef0697af
3
+ metadata.gz: 47c91a53a6fffc56db106874c00571182582ea6791690a8aa6817d3b297d8a2c
4
+ data.tar.gz: ab879feabb9a8104ed11f8d7a3fbf7feffddc8860f13d9e52075b07eb496a24b
5
5
  SHA512:
6
- metadata.gz: 600a4b5045affc2274d83000bea9487886fad9ce97588d4a49af5533271a2ec5cedf5e25b10e735688f95ada5ba2e2b9890f8499f585ca26ecdffd4be67987ff
7
- data.tar.gz: 69eef61d6d3a00e112da89f35a6f9e7339b3749f397dc652175ee3f59d44ea4f24833409a77cc302074cc4ab6c0bc5d1da61b50f417fdfebb88aa5dafa30bb51
6
+ metadata.gz: d4b6061360a62fbce0eaed156a1ff23645fa927b7e5a82b0065b95ff8a262991dfb21a013b6e0e5816ad4ef8f11617347af5cd9da20ed45ebaf11d8647477f68
7
+ data.tar.gz: 73f93169d282fade1c1ac0cd16dbd83fb582b4c13e5fcea0e9f0b15424880e126cef58ab6d8e2eb3bf6d99f33971f8b3becd2d31d0bf4caa5aef406447b48430
@@ -87,7 +87,7 @@ module InlineFormsHelper
87
87
  if parent_class.nil?
88
88
  raw out
89
89
  else
90
- raw out if can? :update, parent_class.find(parent_id) # can update this specific parent object???
90
+ raw out if can? :update, parent_class.find(parent_id), (model.to_s.tableize) # can update this specific attribute??? https://github.com/CanCanCommunity/cancancan/issues/845
91
91
  end
92
92
  end
93
93
  else
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "6.2.12"
3
+ VERSION = "6.2.14"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.12
4
+ version: 6.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-03-25 00:00:00.000000000 Z
13
+ date: 2024-04-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rvm