I’m using the following view code in my Ruby (1.9.3) on Rails (3.1) application to edit who a task is owned by.
=simple_form_for task do |f|
=f.input :owner, collection: task.list.collaborators
Which produces the following selection dropdown.

How do I tell it to display the first_name and last_name of the user?
Note:
Tasks belong to lists which belong to collaborations.
Apparently,
task.list.collaboratorsneeds to be in nested array form as [[key, value], [key, value]]. A simple way to do that:Alternatively, you can do the following. Add a method to User as you would want it displayed:
Then use the :label_method and :value_method parameters: