validatious-on-rails 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,20 +2,12 @@
2
2
  begin
3
3
  require 'validation_reflection'
4
4
  rescue LoadError
5
- gem 'redinger-validation_reflection', '>= 0.3.2'
5
+ gem 'validation_reflection', '>= 0.3.5'
6
6
  require 'validation_reflection'
7
7
  end
8
8
 
9
9
  require File.join(File.dirname(__FILE__), *%w[validatious validators])
10
10
 
11
- # Force this, as it seems ValidationReflection don't do this correctly. =S
12
- #
13
- ActiveRecord::Base.class_eval do
14
- include ::ActiveRecordExtensions::ValidationReflection
15
- ::ActiveRecordExtensions::ValidationReflection.load_config
16
- ::ActiveRecordExtensions::ValidationReflection.install(self)
17
- end
18
-
19
11
  # Validatious-Rails validation translator.
20
12
  #
21
13
  module ValidatiousOnRails
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validatious-on-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Johansen