simple_form_extension 1.2.17 → 1.2.18
Sign up to get free protection for your applications and to get access to all the features.
@@ -109,7 +109,7 @@ module SimpleFormExtension
|
|
109
109
|
end
|
110
110
|
|
111
111
|
def foreign_key
|
112
|
-
@foreign_key ||= if reflection.
|
112
|
+
@foreign_key ||= if reflection.macro == :has_many
|
113
113
|
reflection.foreign_key.pluralize
|
114
114
|
else
|
115
115
|
reflection.foreign_key
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_form_extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.18
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|