Sha256: 248bee796984dfd8c0988acd8b25a95567a40b7b732e487b8a0c7fd4a07d67d5
Contents?: true
Size: 497 Bytes
Versions: 53
Compression:
Stored size: 497 Bytes
Contents
module ActiveRecord class Relation class FromClause # :nodoc: attr_reader :value, :name def initialize(value, name) @value = value @name = name end def binds if value.is_a?(Relation) value.bound_attributes else [] end end def merge(other) self end def empty? value.nil? end def self.empty @empty ||= new(nil, nil) end end end end
Version data entries
53 entries across 53 versions & 4 rubygems