Rails3モデルに簡単な質問があります。私が持っているモデルは次のとおりです。
class Order < ActiveRecord::Base
attr_accessible :customer :date #blahblah..
has_many :items
accepts_nested_attributes_for :items
class Item < ActiveRecord::Base
belongs_to :order
@item.customer
では、どうすれば自分のプログラムに到達できますか?
ありがとう