i have the following code:
@vehicles = Vehicle.find(:all, :order => “license”)
<%= collection_select(:mileage, :vehicle_id, @vehicles, :id, :license)
what i want:
instead of just license, i want:
:make + " " + :model + ", " + :license in place of just :license.
obviously, this doesn’t work. nor does putting an instance variable in
place of :license.
any help would be appreciated.