lgustafson-validatable 1.8.6 → 1.8.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/validatable.rb +1 -1
- data/lib/validatable/errors.rb +2 -2
- metadata +2 -2
data/lib/validatable.rb
CHANGED
data/lib/validatable/errors.rb
CHANGED
@@ -92,7 +92,7 @@ module Validatable
|
|
92
92
|
if attribute.to_s == "base"
|
93
93
|
full_messages << msg
|
94
94
|
else
|
95
|
-
full_messages << humanize(attribute.to_s) + " " + msg
|
95
|
+
full_messages << humanize(attribute.to_s) + " " + msg.to_s
|
96
96
|
end
|
97
97
|
end
|
98
98
|
end
|
@@ -103,4 +103,4 @@ module Validatable
|
|
103
103
|
lower_case_and_underscored_word.to_s.gsub(/_id$/, "").gsub(/_/, " ").capitalize
|
104
104
|
end
|
105
105
|
end
|
106
|
-
end
|
106
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lgustafson-validatable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-11-
|
14
|
+
date: 2012-11-07 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|