simple_model 1.2.11 → 1.2.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/simple_model/error_helpers.rb +1 -1
- data/lib/simple_model/version.rb +1 -1
- metadata +2 -2
@@ -39,7 +39,7 @@ module SimpleModel
|
|
39
39
|
value.uniq!
|
40
40
|
if value.length == 1
|
41
41
|
self.errors_count = (self.errors_count.to_i + 1)
|
42
|
-
error_items << "<li>#{key.to_s.titleize} #{value[0]}
|
42
|
+
error_items << "<li>#{key.to_s.titleize} #{value[0]}</li>"
|
43
43
|
else
|
44
44
|
error_items << "<li><ul>#{key.to_s.titleize} errors:"
|
45
45
|
value.each do |item|
|
data/lib/simple_model/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.12
|
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: 2013-
|
12
|
+
date: 2013-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|