method
nil?
rails latest stable - Class:
ActiveRecord::Relation::QueryAttribute
nil?()public
No documentation available.
# File activerecord/lib/active_record/relation/query_attribute.rb, line 35
def nil?
unless value_before_type_cast.is_a?(StatementCache::Substitute)
value_before_type_cast.nil? ||
type.respond_to?(:subtype) && serializable? && value_for_database.nil?
end
end