Sha256: 098bbaff10e3e95283084eeb3c3bba5f5959105a39ae6e8786614218f19e168a

Contents?: true

Size: 136 Bytes

Versions: 8

Compression:

Stored size: 136 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

8 entries across 8 versions & 1 rubygems

Version Path
atomically-1.1.2 lib/atomically/patches/none.rb
atomically-1.1.1 lib/atomically/patches/none.rb
atomically-1.1.0 lib/atomically/patches/none.rb
atomically-1.0.6 lib/atomically/patches/none.rb
atomically-1.0.5 lib/atomically/patches/none.rb
atomically-1.0.4 lib/atomically/patches/none.rb
atomically-1.0.3 lib/atomically/patches/none.rb
atomically-1.0.2 lib/atomically/patches/none.rb