Sha256: 45ec6386d0f63a0f57e9672486f4dfdc36978cb807fd7f8c258d65ea663a0670

Contents?: true

Size: 145 Bytes

Versions: 3

Compression:

Stored size: 145 Bytes

Contents

# frozen_string_literal: true

require 'active_record'

class << ActiveRecord::Base
  def none # For Rails 3
    where('1=0')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
atomically-1.1.5 lib/atomically/patches/none.rb
atomically-1.1.4 lib/atomically/patches/none.rb
atomically-1.1.3 lib/atomically/patches/none.rb