Flowdock
method

ids

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: AssociationQueryValue
ids() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation/predicate_builder/association_query_handler.rb, line 46
      def ids
        case value
        when Relation
          value.select(primary_key)
        when Array
          value.map { |v| convert_to_id(v) }
        else
          convert_to_id(value)
        end
      end
Register or log in to add new notes.