Sha256: 60290561ded3fa261865fbe2ae81a9142026a34644364e32e185e1e62711cc67
Contents?: true
Size: 486 Bytes
Versions: 2
Compression:
Stored size: 486 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 new(nil, nil) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activerecord-5.0.0.beta1.1 | lib/active_record/relation/from_clause.rb |
activerecord-5.0.0.beta1 | lib/active_record/relation/from_clause.rb |