lib/acts-as-approvable.rb in acts-as-approvable-0.6.9 vs lib/acts-as-approvable.rb in acts-as-approvable-0.6.9.1
- old
+ new
@@ -12,9 +12,14 @@
require 'acts_as_approvable/railtie'
elsif defined?(ActiveRecord)
ActiveRecord::Base.send :extend, ActsAsApprovable::Model
end
+# Alert users of the move!
+if defined?(ActiveSupport::Deprecation)
+ ActiveSupport::Deprecation.warn 'acts-as-approvable has officially moved to acts_as_approvable! Please update your gem references.'
+end
+
$LOAD_PATH.shift
module ActsAsApprovable
##
# Enable the approval queue at a global level.