RubyGems
npm
Organizations
Log in
Sign up
RubyGems
jnunemaker-validatable
Versions diffs
1.1.9 → 1.1.10
jnunemaker-validatable 1.1.9 → 1.1.10
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (3)
hide
show
data/lib/validatable.rb
+1
-1
data/lib/validatable/validatable_instance_methods.rb
+1
-1
metadata
+1
-1
data/lib/validatable.rb
CHANGED
Viewed
@@ -24,5 +24,5 @@ require 'validatable/validations/validates_each'
24
24
require 'validatable/validations/validates_associated'
25
25
26
26
module Validatable
27
-
Version = '1.1.
9
'
27
+
Version = '1.1.
10
'
28
28
end
data/lib/validatable/validatable_instance_methods.rb
CHANGED
Viewed
@@ -19,8 +19,8 @@ module Validatable
19
19
end
20
20
21
21
def valid_for_group?(group) #:nodoc:
22
-
run_before_validations
23
22
errors.clear
23
+
run_before_validations
24
24
self.class.validate_children(self, group)
25
25
self.validate_group(group)
26
26
errors.empty?
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: jnunemaker-validatable
3
3
version: !ruby/object:Gem::Version
4
-
version: 1.1.
9
4
+
version: 1.1.
10
5
5
platform: ruby
6
6
authors:
7
7
- Jay Fields