method
pluck

pluck(variable, property)
public
Hide source
# File actionpack/lib/action_view/helpers/prototype_helper.rb, line 1233 def pluck(variable, property) add_variable_assignment!(variable) append_enumerable_function!("pluck(#{::ActiveSupport::JSON.encode(property)});") end