method
boundable?
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::Relation::QueryAttribute
boundable?()public
No documentation available.
# File activerecord/lib/active_record/relation/query_attribute.rb, line 27
def boundable?
return @_boundable if defined?(@_boundable)
value_for_database unless value_before_type_cast.is_a?(StatementCache::Substitute)
@_boundable = true
rescue ::RangeError
@_boundable = false
end