Method: ActiveNode::Associations::Association#ids_reader

Defined in:
lib/active_node/associations/association.rb

#ids_readerObject

Implements the ids reader method, e.g. foo.item_ids for Foo.has_many :items



80
81
82
83
# File 'lib/active_node/associations/association.rb', line 80

def ids_reader
  reader
  @target.map(&:id)
end