validates_schema 1.1.1 → 1.1.3

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,7 +32,7 @@ class ActiveRecord::Base
32
32
  return if abstract_class
33
33
  begin
34
34
  add_schema_based_validations(self)
35
- rescue ActiveRecord::StatementInvalid => e
35
+ rescue Exception => e
36
36
  # apparently it just doesn't want to work,
37
37
  # so forget about it!
38
38
  # puts "e.message: #{e.message}"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 1
9
- version: 1.1.1
8
+ - 3
9
+ version: 1.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - markbates
@@ -60,7 +60,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- hash: 3962466223536753182
63
+ hash: 531190607183051454
64
64
  segments:
65
65
  - 0
66
66
  version: "0"