Ruby arrancar matriz

Ejemplos de código

0
0

ruby arrancar

Use #pluck as a shortcut to select one or more attributes without loading a bunch
of records just to grab the attributes you want.
Use:
	Person.pluck(:name)
intead of:
	Person.all.map(&:name)

En otros idiomas

Esta página está en otros idiomas

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................