Ruby dotaz trhat

Příklady kódu

0
0

ruby trhat

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)

V jiných jazycích

Tato stránka je v jiných jazycích

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