instance method build

Ruby on Rails edge

Since edge

Signature

build(original_row)

No documentation comment.

Parameters

original_row req
Source
# File activemodel/lib/active_model/indexed_row.rb, line 115
      def build(original_row)
        IndexedRow.new(@new_indexes, original_row.row.values_at(*@indexes_to_extract).freeze)
      end

Defined in activemodel/lib/active_model/indexed_row.rb line 115 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveModel::IndexedRow::Remapper

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close