validates_existence 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rails3.rb +1 -1
- metadata +3 -3
data/lib/rails3.rb
CHANGED
@@ -42,7 +42,7 @@ module Perfectline
|
|
42
42
|
errors.push(attribute.to_s.ends_with?("_id") ? normalized : association.primary_key_name)
|
43
43
|
end
|
44
44
|
errors.each do |error|
|
45
|
-
record.errors.add(error, options[:message], :
|
45
|
+
record.errors.add(error, options[:message], :defaults => "does not exist")
|
46
46
|
end
|
47
47
|
end
|
48
48
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 6
|
8
|
-
-
|
9
|
-
version: 0.6.
|
8
|
+
- 1
|
9
|
+
version: 0.6.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Tanel Suurhans
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-04-15 00:00:00 +03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|