ActiveAdminとRoRはまったく初めてですが、has_manyアソシエーションのドロップダウンの表示値を変更する方法がわかりません。
フィルアップモデル
class Fillup < ActiveRecord::Base
// key is car_id:integer
belongs_to :car
end
車のモデル
class Car < ActiveRecord::Base
validates :description, :presence => true
key is fillup_id:integer
has_many :fillups
end
現在表示されているもの:
現在、割り当てられた車へのエンコードされた参照を想定しているimを示しています。
表示する必要があるもの:
description:string
のように定義されている与えられた説明を表示するために必要Car Model
です。