lgustafson-validatable 1.8.6 → 1.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,5 +32,5 @@ require File.join(lib_path, 'validations/validates_each')
32
32
  require File.join(lib_path, 'validations/validates_associated')
33
33
 
34
34
  module Validatable
35
- Version = '1.8.6'
35
+ Version = '1.8.7'
36
36
  end
@@ -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.6
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-05 00:00:00.000000000 Z
14
+ date: 2012-11-07 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport