lib/authlogic/config.rb in authlogic-4.4.1 vs lib/authlogic/config.rb in authlogic-4.4.2

- old
+ new

@@ -1,14 +1,10 @@ module Authlogic module Config E_USE_NORMAL_RAILS_VALIDATION = <<~EOS.freeze This Authlogic configuration option (%s) is deprecated. Use normal - ActiveRecord validations instead. For example, instead of the Authlogic - method validates_length_of_email_field_options, you can use - - validates :email, length: { ... } - - These deprecated Authlogic methods will be removed in the next major version. + ActiveRecord validation instead. Detailed instructions: + https://github.com/binarylogic/authlogic/blob/master/doc/use_normal_rails_validation.md EOS def self.extended(klass) klass.class_eval do class_attribute :acts_as_authentic_config