Permalink
Browse files

Remove AS::Concern from NoUpdate (#274)

  • Loading branch information...
brendon committed May 10, 2017
1 parent 2f84821 commit 6d50054fa11f0a6d4f54c893736c11eaae8bcff2
Showing with 7 additions and 4 deletions.
  1. +7 −4 lib/acts_as_list/active_record/acts/no_update.rb
@@ -2,7 +2,10 @@ module ActiveRecord
module Acts
module List
module NoUpdate
extend ActiveSupport::Concern
def self.included(base)
base.extend ClassMethods
end
class ArrayTypeError < SyntaxError
def initialize
@@ -96,9 +99,9 @@ def applied_to?(klass)
private
def extracted_klasses
Thread.current[:act_as_list_no_update] ||= []
end
def extracted_klasses
Thread.current[:act_as_list_no_update] ||= []
end
end
def act_as_list_no_update?

0 comments on commit 6d50054

Please sign in to comment.