Copy the accessed columns when duping and cloning.
48 49 50 51
# File 'lib/sequel/plugins/accessed_columns.rb', line 48 def initialize_copy(other) other.instance_variable_set(:@accessed_columns, Hash[@accessed_columns]) if @accessed_columns super end