simple_form_extension 1.3.2 → 1.3.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3389e2d12e27e8e55b308cbaea48f3db0bfe92fb
|
4
|
+
data.tar.gz: 3e8cb0a226449f5ec4c204f3542d9b2432762b13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 896d13493f069f43397c163b52376727a486b7beecb6b3473d9a5b822d2309b208631a4f344d7dbbf850fc4c399e56a4217c917f5a40a717210c44cb0796156d
|
7
|
+
data.tar.gz: 056e78f135bfa9f7dc37ed700293ca1ce49fc35bd2783187dd1a03d1e792683b49db0185b9fba995c37ed034b69136b621a83a1cd5cac749e436c7800c2e922f
|
@@ -110,7 +110,9 @@ module SimpleFormExtension
|
|
110
110
|
end
|
111
111
|
|
112
112
|
def reflection
|
113
|
-
@reflection ||= object.class.reflect_on_association
|
113
|
+
@reflection ||= if object.class.respond_to?(:reflect_on_association)
|
114
|
+
object.class.reflect_on_association(attribute_name)
|
115
|
+
end
|
114
116
|
end
|
115
117
|
|
116
118
|
def foreign_key
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_form_extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Glyph-fr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|