method

can_be_bound?

rails latest stable - Class: ActiveRecord::PredicateBuilder

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

can_be_bound?(value)
public

No documentation available.

# File activerecord/lib/active_record/relation/predicate_builder.rb, line 149
    def self.can_be_bound?(value) # :nodoc:
      !value.nil? &&
        !value.is_a?(Hash) &&
        handler_for(value) == BASIC_OBJECT_HANDLER
    end