values_at
public
Returns an array of the values returned by the given methods.
topic = Topic.new(title: "Budget", author_name: "Jason")
topic.values_at(:title, :author_name)
=> ["Budget", "Jason"]
# File activerecord/lib/active_record/core.rb, line 590