Sha256: a6fe17c5cc503352e52780dcc5657493b23cd6bc4874e782b3c56bd4496c431c

Contents?: true

Size: 228 Bytes

Versions: 1

Compression:

Stored size: 228 Bytes

Contents

module EdgeRider
  module ToIdQuery

    def to_id_query
      ids = collect_ids
      EdgeRider::Util.exclusive_query(self, id: ids)
    end
  end
end

ActiveSupport.on_load :active_record do
  extend(EdgeRider::ToIdQuery)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
edge_rider-2.3.1 lib/edge_rider/to_id_query.rb