lib/auto_increment.rb in auto_increment-1.5.2 vs lib/auto_increment.rb in auto_increment-1.6.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'date'
require 'i18n'
require 'active_record'
require 'active_support'
require 'active_support/time_with_zone'
@@ -9,6 +11,6 @@
module AutoIncrement
autoload :Incrementor, 'auto_increment/incrementor'
autoload :ActiveRecord, 'auto_increment/active_record'
end
-ActiveRecord::Base.send :include, AutoIncrement::ActiveRecord
+ActiveRecord::Base.include AutoIncrement::ActiveRecord