Sha256: e219859a0266d472059cf9eea846f02608457d4d4acf3bbea265aa099a1860f5
Contents?: true
Size: 737 Bytes
Versions: 10
Compression:
Stored size: 737 Bytes
Contents
# -*- coding: utf-8 -*- module ActiveRecord module NullRelation # :nodoc: def exec_queries @records = [] end def pluck(*column_names) [] end def delete_all(_conditions = nil) 0 end def update_all(_updates, _conditions = nil, _options = {}) 0 end def delete(_id_or_array) 0 end def size 0 end def empty? true end def any? false end def many? false end def to_sql @to_sql ||= "" end def count(*) 0 end def sum(*) 0 end def calculate(_operation, _column_name, _options = {}) nil end def exists?(_id = false) false end end end
Version data entries
10 entries across 10 versions & 1 rubygems